public class CGateSession extends CGateObject
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Issue a
quit to the C-Gate server and close the input and output stream
and the command_socket. |
void |
connect() |
void |
enableKeepAlivePing(boolean pingKeepAlive) |
CGateObject |
getCGateObject(java.lang.String address) |
protected CGateSession |
getCGateSession() |
protected java.lang.String |
getKey() |
boolean |
isConnected() |
void |
registerEventCallback(EventCallback event_callback) |
void |
registerStatusChangeCallback(StatusChangeCallback status_change_callback) |
cacheObject, clearCache, clearCache, getAddress, getAllCachedObjects, getCachedObject, setupSubtreeCache, uncacheObjectprotected CGateSession getCGateSession()
getCGateSession in class CGateObjectprotected java.lang.String getKey()
getKey in class CGateObjectpublic CGateObject getCGateObject(java.lang.String address) throws CGateException
getCGateObject in class CGateObjectCGateExceptionpublic void connect()
throws CGateConnectException
CGateConnectExceptionpublic void enableKeepAlivePing(boolean pingKeepAlive)
public void close()
throws CGateException
quit to the C-Gate server and close the input and output stream
and the command_socket.CGateExceptionpublic boolean isConnected()
public void registerEventCallback(EventCallback event_callback)
event_callback - public void registerStatusChangeCallback(StatusChangeCallback status_change_callback)
event_callback -