gnu.rfb.server
Interface RFBClient
- All Known Implementing Classes:
- RFBSocket
- public interface RFBClient
To be implemented by RFB client models.
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