Package com.iizix.server.vsviewer
Class VSViewerEndPoint
java.lang.Object
com.iizix.server.vsviewer.VSViewerEndPoint
- All Implemented Interfaces:
IEndPoint
The main class for a VS Viewer session running in the Server.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface com.iizix.server.IEndPoint
IEndPoint.Type
Field Summary
Fields inherited from interface com.iizix.server.IEndPoint
DEFAULT_HEARTBEAT_INTERVAL, STORAGE_NAME
Method Summary
Modifier and TypeMethodDescriptionboolean
dispose()
Disposes of the end point.Gets the end point name.Gets the end point type.Gets the server instance.long
Gets the Server Session ID.Gets the SessionInfo for this end point.Gets the VS Viewer transaction processor.Gets the WebSocketCommListener for the end point.boolean
Checks if the VS Viewer end point is disposed of.
Method Details
getWebSocketCommListener
Gets the WebSocketCommListener for the end point.- Specified by:
getWebSocketCommListener
in interfaceIEndPoint
- Parameters:
comm
- The WebSocket communication instance.- Returns:
- The WebSocket listener.
getTransactionProcessor
Gets the VS Viewer transaction processor.getServerSessionID
public long getServerSessionID()Gets the Server Session ID.- Specified by:
getServerSessionID
in interfaceIEndPoint
- Returns:
- The session ID.
getServer
Gets the server instance.getEndPointType
Gets the end point type.- Specified by:
getEndPointType
in interfaceIEndPoint
- Returns:
- The endpoint type.
getEndPointName
Gets the end point name.- Specified by:
getEndPointName
in interfaceIEndPoint
- Returns:
- A short descriptive end-point type name.
getSessionInfo
Gets the SessionInfo for this end point.- Specified by:
getSessionInfo
in interfaceIEndPoint
- Returns:
- The SessionInfo instance.
dispose
public boolean dispose()Disposes of the end point.isDisposed
public boolean isDisposed()Checks if the VS Viewer end point is disposed of.