net.vncviewer.rfb
Class CConnection
java.lang.Object
net.vncviewer.rfb.CMsgHandler
net.vncviewer.rfb.CConnection
- Direct Known Subclasses:
- CConn
public abstract class CConnection
- extends CMsgHandler
Methods inherited from class net.vncviewer.rfb.CMsgHandler |
beginRect, bell, copyRect, endRect, fillRect, framebufferUpdateEnd, framebufferUpdateStart, imageRect, serverCutText, setColourMapEntries, setCursor, setDesktopSize, setName, setPixelFormat |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RFBSTATE_UNINITIALISED
public static final int RFBSTATE_UNINITIALISED
- See Also:
- Constant Field Values
RFBSTATE_PROTOCOL_VERSION
public static final int RFBSTATE_PROTOCOL_VERSION
- See Also:
- Constant Field Values
RFBSTATE_SECURITY_TYPES
public static final int RFBSTATE_SECURITY_TYPES
- See Also:
- Constant Field Values
RFBSTATE_SECURITY
public static final int RFBSTATE_SECURITY
- See Also:
- Constant Field Values
RFBSTATE_SECURITY_RESULT
public static final int RFBSTATE_SECURITY_RESULT
- See Also:
- Constant Field Values
RFBSTATE_INITIALISATION
public static final int RFBSTATE_INITIALISATION
- See Also:
- Constant Field Values
RFBSTATE_NORMAL
public static final int RFBSTATE_NORMAL
- See Also:
- Constant Field Values
RFBSTATE_INVALID
public static final int RFBSTATE_INVALID
- See Also:
- Constant Field Values
maxSecTypes
public static final int maxSecTypes
- See Also:
- Constant Field Values
CConnection
public CConnection()
setServerName
public void setServerName(java.lang.String name)
setStreams
public void setStreams(InStream is_,
OutStream os_)
initSecTypes
public void initSecTypes()
addSecType
public void addSecType(int secType)
setShared
public void setShared(boolean s)
setProtocol3_3
public void setProtocol3_3(boolean b)
initialiseProtocol
public void initialiseProtocol()
processMsg
public void processMsg()
getCSecurity
public abstract CSecurity getCSecurity(int secType)
getCurrentCSecurity
public CSecurity getCurrentCSecurity()
setClientSecTypeOrder
public void setClientSecTypeOrder(boolean csto)
authSuccess
public void authSuccess()
serverInit
public void serverInit()
- Overrides:
serverInit
in class CMsgHandler
reader
public CMsgReader reader()
writer
public CMsgWriter writer()
getInStream
public InStream getInStream()
getOutStream
public OutStream getOutStream()
getServerName
public java.lang.String getServerName()
state
public int state()