net.rfb
Class CConnection

java.lang.Object
  extended by net.rfb.CMsgHandler
      extended by net.rfb.CConnection
Direct Known Subclasses:
CConn

public abstract class CConnection
extends CMsgHandler


Field Summary
static int maxSecTypes
           
static int RFBSTATE_INITIALISATION
           
static int RFBSTATE_INVALID
           
static int RFBSTATE_NORMAL
           
static int RFBSTATE_PROTOCOL_VERSION
           
static int RFBSTATE_SECURITY
           
static int RFBSTATE_SECURITY_RESULT
           
static int RFBSTATE_SECURITY_TYPES
           
static int RFBSTATE_UNINITIALISED
           
 
Fields inherited from class net.rfb.CMsgHandler
cp
 
Constructor Summary
CConnection()
           
 
Method Summary
 void addSecType(int secType)
           
 void authSuccess()
           
abstract  CSecurity getCSecurity(int secType)
           
 CSecurity getCurrentCSecurity()
           
 InStream getInStream()
           
 OutStream getOutStream()
           
 java.lang.String getServerName()
           
 void initialiseProtocol()
           
 void initSecTypes()
           
 void processMsg()
           
 CMsgReader reader()
           
 void serverInit()
           
 void setClientSecTypeOrder(boolean csto)
           
 void setProtocol3_3(boolean b)
           
 void setServerName(java.lang.String name)
           
 void setShared(boolean s)
           
 void setStreams(InStream is_, OutStream os_)
           
 int state()
           
 CMsgWriter writer()
           
 
Methods inherited from class net.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
 

Field Detail

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
Constructor Detail

CConnection

public CConnection()
Method Detail

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()