gnu.rfb.server
Interface RFBClient

All Known Implementing Classes:
RFBSocket

public interface RFBClient

Interface to handle a client using RFB protocol.


Method Summary
 void close()
           
 int[] getEncodings()
           
 PixelFormat getPixelFormat()
           
 int getPreferredEncoding()
           
 java.lang.String getProtocolVersionMsg()
           
 boolean getShared()
           
 void setPreferredEncoding(int encoding)
           
 void setUpdateIsAvailable(boolean value)
           
 void writeBell()
           
 void writeFrameBufferUpdate(Rect[] rects)
           
 void writeServerCutText(java.lang.String text)
           
 void writeSetColourMapEntries(int firstColour, Colour[] colours)
           
 

Method Detail

getPixelFormat

PixelFormat getPixelFormat()

getProtocolVersionMsg

java.lang.String getProtocolVersionMsg()

getShared

boolean getShared()

getPreferredEncoding

int getPreferredEncoding()

setPreferredEncoding

void setPreferredEncoding(int encoding)

getEncodings

int[] getEncodings()

writeFrameBufferUpdate

void writeFrameBufferUpdate(Rect[] rects)
                            throws java.io.IOException
Throws:
java.io.IOException

writeSetColourMapEntries

void writeSetColourMapEntries(int firstColour,
                              Colour[] colours)
                              throws java.io.IOException
Throws:
java.io.IOException

writeBell

void writeBell()
               throws java.io.IOException
Throws:
java.io.IOException

writeServerCutText

void writeServerCutText(java.lang.String text)
                        throws java.io.IOException
Throws:
java.io.IOException

setUpdateIsAvailable

void setUpdateIsAvailable(boolean value)

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException