VNCj

gnu.rfb.server
Interface RFBClient

All Known Implementing Classes:
RFBSocket

public interface RFBClient

To be implemented by RFB client models.


Method Summary
 void close()
           
 void flush()
           
 int[] getEncodings()
           
 InetAddress getInetAddress()
           
 PixelFormat getPixelFormat()
           
 int getPreferredEncoding()
           
 String getProtocolVersionMsg()
           
 boolean getShared()
           
 void read(byte[] bytes)
           
 void setPreferredEncoding(int encoding)
           
 void write(byte[] bytes)
           
 void write(int integer)
           
 void writeBell()
           
 void writeConnectionFailed(String text)
           
 void writeFrameBufferUpdate(Rect[] rects)
           
 void writeServerCutText(String text)
           
 void writeSetColourMapEntries(int firstColour, Colour[] colours)
           
 

Method Detail

getPixelFormat

public PixelFormat getPixelFormat()

getProtocolVersionMsg

public String getProtocolVersionMsg()

getShared

public boolean getShared()

getPreferredEncoding

public int getPreferredEncoding()

setPreferredEncoding

public void setPreferredEncoding(int encoding)

getEncodings

public int[] getEncodings()

getInetAddress

public InetAddress getInetAddress()

writeFrameBufferUpdate

public void writeFrameBufferUpdate(Rect[] rects)
                            throws IOException
IOException

writeSetColourMapEntries

public void writeSetColourMapEntries(int firstColour,
                                     Colour[] colours)
                              throws IOException
IOException

writeBell

public void writeBell()
               throws IOException
IOException

writeServerCutText

public void writeServerCutText(String text)
                        throws IOException
IOException

writeConnectionFailed

public void writeConnectionFailed(String text)
                           throws IOException
IOException

write

public void write(int integer)
           throws IOException
IOException

write

public void write(byte[] bytes)
           throws IOException
IOException

flush

public void flush()
           throws IOException
IOException

read

public void read(byte[] bytes)
          throws IOException
IOException

close

public void close()
           throws IOException
IOException

VNCj