|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.rfb.server.RFBSocket
public class RFBSocket
Constructor Summary | |
---|---|
RFBSocket(java.net.Socket socket,
RFBServer server,
RFBHost host,
RFBAuthenticator authenticator)
new constructor by Marcus Wolschon |
|
RFBSocket(java.net.Socket socket,
RFBServer server,
RFBHost host,
RFBAuthenticator authenticator,
boolean syncronous)
new constructor by Marcus Wolschon |
Method Summary | |
---|---|
void |
close()
Closes the connection to the client. |
int[] |
getEncodings()
|
java.net.InetAddress |
getInetAddress()
|
java.lang.String |
getName()
|
PixelFormat |
getPixelFormat()
|
int |
getPreferredEncoding()
|
java.lang.String |
getProtocolVersionMsg()
|
boolean |
getShared()
|
boolean |
getUpdateIsAvailable()
|
void |
run()
|
void |
setPreferredEncoding(int encoding)
|
void |
setUpdateIsAvailable(boolean value)
Set whether or not an update is available to send. |
void |
writeBell()
Writes the bell message to the client. |
void |
writeFrameBufferUpdate(Rect[] rects)
Writes the frame buffer update out to the client. |
void |
writeServerCutText(java.lang.String text)
Writes a server cut text message to the client. |
void |
writeSetColourMapEntries(int firstColour,
Colour[] colours)
Writes the color map entries to the client. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RFBSocket(java.net.Socket socket, RFBServer server, RFBHost host, RFBAuthenticator authenticator) throws java.io.IOException
java.io.IOException
public RFBSocket(java.net.Socket socket, RFBServer server, RFBHost host, RFBAuthenticator authenticator, boolean syncronous) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public PixelFormat getPixelFormat()
getPixelFormat
in interface RFBClient
public java.lang.String getProtocolVersionMsg()
getProtocolVersionMsg
in interface RFBClient
public boolean getShared()
getShared
in interface RFBClient
public int getPreferredEncoding()
getPreferredEncoding
in interface RFBClient
public void setPreferredEncoding(int encoding)
setPreferredEncoding
in interface RFBClient
public int[] getEncodings()
getEncodings
in interface RFBClient
public void writeFrameBufferUpdate(Rect[] rects) throws java.io.IOException
writeFrameBufferUpdate
in interface RFBClient
rects
- An array of rectangles to write.
java.io.IOException
public void writeSetColourMapEntries(int firstColour, Colour[] colours) throws java.io.IOException
writeSetColourMapEntries
in interface RFBClient
firstColour
- colours
-
java.io.IOException
- if unable to write the entries to the client.public void writeBell() throws java.io.IOException
writeBell
in interface RFBClient
java.io.IOException
- If unable to write the message to the client.public void writeServerCutText(java.lang.String text) throws java.io.IOException
writeServerCutText
in interface RFBClient
java.io.IOException
public void close()
close
in interface RFBClient
public void run()
run
in interface java.lang.Runnable
public java.net.InetAddress getInetAddress()
public java.lang.String getName()
public void setUpdateIsAvailable(boolean value)
setUpdateIsAvailable
in interface RFBClient
public boolean getUpdateIsAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |