gnu.rfb.server
Interface RFBServer

All Known Implementing Classes:
VNCConsole, VNCPixels, VNCRobot

public interface RFBServer

The Remote Frame Buffer Server.


Method Summary
 void addClient(RFBClient client)
           
 boolean allowShared()
           
 void clientCutText(RFBClient client, java.lang.String text)
           
 void fixColourMapEntries(RFBClient client, int firstColour, Colour[] colourMap)
           
 void frameBufferUpdateRequest(RFBClient client, boolean incremental, int x, int y, int w, int h)
           
 java.lang.String getDesktopName(RFBClient client)
           
 int getFrameBufferHeight(RFBClient client)
           
 int getFrameBufferWidth(RFBClient client)
           
 PixelFormat getPreferredPixelFormat(RFBClient client)
           
 void keyEvent(RFBClient client, boolean down, int key)
           
 void pointerEvent(RFBClient client, int buttonMask, int x, int y)
           
 void removeClient(RFBClient client)
           
 void setClientProtocolVersionMsg(RFBClient client, java.lang.String protocolVersionMsg)
           
 void setEncodings(RFBClient client, int[] encodings)
           
 void setPixelFormat(RFBClient client, PixelFormat pixelFormat)
           
 void setShared(RFBClient client, boolean shared)
           
 

Method Detail

addClient

void addClient(RFBClient client)

removeClient

void removeClient(RFBClient client)

getDesktopName

java.lang.String getDesktopName(RFBClient client)

getFrameBufferWidth

int getFrameBufferWidth(RFBClient client)

getFrameBufferHeight

int getFrameBufferHeight(RFBClient client)

getPreferredPixelFormat

PixelFormat getPreferredPixelFormat(RFBClient client)

allowShared

boolean allowShared()

setClientProtocolVersionMsg

void setClientProtocolVersionMsg(RFBClient client,
                                 java.lang.String protocolVersionMsg)
                                 throws java.io.IOException
Throws:
java.io.IOException

setShared

void setShared(RFBClient client,
               boolean shared)
               throws java.io.IOException
Throws:
java.io.IOException

setPixelFormat

void setPixelFormat(RFBClient client,
                    PixelFormat pixelFormat)
                    throws java.io.IOException
Throws:
java.io.IOException

setEncodings

void setEncodings(RFBClient client,
                  int[] encodings)
                  throws java.io.IOException
Throws:
java.io.IOException

fixColourMapEntries

void fixColourMapEntries(RFBClient client,
                         int firstColour,
                         Colour[] colourMap)
                         throws java.io.IOException
Throws:
java.io.IOException

frameBufferUpdateRequest

void frameBufferUpdateRequest(RFBClient client,
                              boolean incremental,
                              int x,
                              int y,
                              int w,
                              int h)
                              throws java.io.IOException
Throws:
java.io.IOException

keyEvent

void keyEvent(RFBClient client,
              boolean down,
              int key)
              throws java.io.IOException
Throws:
java.io.IOException

pointerEvent

void pointerEvent(RFBClient client,
                  int buttonMask,
                  int x,
                  int y)
                  throws java.io.IOException
Throws:
java.io.IOException

clientCutText

void clientCutText(RFBClient client,
                   java.lang.String text)
                   throws java.io.IOException
Throws:
java.io.IOException