net.rfb
Class CMsgHandler

java.lang.Object
  extended by net.rfb.CMsgHandler
Direct Known Subclasses:
CConnection

public class CMsgHandler
extends java.lang.Object


Field Summary
 ConnParams cp
           
 
Constructor Summary
CMsgHandler()
           
 
Method Summary
 void beginRect(int x, int y, int w, int h, int encoding)
           
 void bell()
           
 void copyRect(int x, int y, int w, int h, int srcX, int srcY)
           
 void endRect(int x, int y, int w, int h, int encoding)
           
 void fillRect(int x, int y, int w, int h, int pix)
           
 void framebufferUpdateEnd()
           
 void framebufferUpdateStart()
           
 void imageRect(int x, int y, int w, int h, byte[] pix, int offset)
           
 void serverCutText(java.lang.String str)
           
 void serverInit()
           
 void setColourMapEntries(int firstColour, int nColours, int[] rgbs)
           
 void setCursor(int hotspotX, int hotspotY, int w, int h, byte[] data, byte[] mask)
           
 void setDesktopSize(int w, int h)
           
 void setName(java.lang.String name)
           
 void setPixelFormat(PixelFormat pf)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cp

public ConnParams cp
Constructor Detail

CMsgHandler

public CMsgHandler()
Method Detail

setDesktopSize

public void setDesktopSize(int w,
                           int h)

setCursor

public void setCursor(int hotspotX,
                      int hotspotY,
                      int w,
                      int h,
                      byte[] data,
                      byte[] mask)

setPixelFormat

public void setPixelFormat(PixelFormat pf)

setName

public void setName(java.lang.String name)

serverInit

public void serverInit()

framebufferUpdateStart

public void framebufferUpdateStart()

framebufferUpdateEnd

public void framebufferUpdateEnd()

beginRect

public void beginRect(int x,
                      int y,
                      int w,
                      int h,
                      int encoding)

endRect

public void endRect(int x,
                    int y,
                    int w,
                    int h,
                    int encoding)

setColourMapEntries

public void setColourMapEntries(int firstColour,
                                int nColours,
                                int[] rgbs)

bell

public void bell()

serverCutText

public void serverCutText(java.lang.String str)

fillRect

public void fillRect(int x,
                     int y,
                     int w,
                     int h,
                     int pix)

imageRect

public void imageRect(int x,
                      int y,
                      int w,
                      int h,
                      byte[] pix,
                      int offset)

copyRect

public void copyRect(int x,
                     int y,
                     int w,
                     int h,
                     int srcX,
                     int srcY)