Package com.iizix.server.client
Class FailedReconnectClientEndPoint
java.lang.Object
com.iizix.server.client.FailedReconnectClientEndPoint
- All Implemented Interfaces:
IEndPoint
Class used to handle a failed client session reconnection to the server and dispose of it in a nice way by sending the close code of CC_DISPOSED.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface com.iizix.server.IEndPoint
IEndPoint.TypeField Summary
Fields inherited from interface com.iizix.server.IEndPoint
DEFAULT_HEARTBEAT_INTERVAL, STORAGE_NAMEMethod Summary
Modifier and TypeMethodDescriptionbooleandispose()Disposes of the end point.Gets the end point name.Gets the end point type.Gets the server instance.longGets the Server Session ID.Gets the SessionInfo for this end point.Returns the session statistics.Gets the WebSocketCommListener for the end point.booleanChecks if the client end point is disposed of.
Method Details
getStatistics
Returns the session statistics.getWebSocketCommListener
Gets the WebSocketCommListener for the end point.- Specified by:
getWebSocketCommListenerin interfaceIEndPoint- Parameters:
comm- The WebSocket communication instance.- Returns:
- The WebSocket listener.
getServerSessionID
public long getServerSessionID()Gets the Server Session ID.- Specified by:
getServerSessionIDin interfaceIEndPoint- Returns:
- The session ID.
getServer
Gets the server instance.getEndPointType
Gets the end point type.- Specified by:
getEndPointTypein interfaceIEndPoint- Returns:
- The endpoint type.
getEndPointName
Gets the end point name.- Specified by:
getEndPointNamein interfaceIEndPoint- Returns:
- A short descriptive end-point type name.
getSessionInfo
Gets the SessionInfo for this end point.- Specified by:
getSessionInfoin interfaceIEndPoint- Returns:
- The SessionInfo instance.
dispose
public boolean dispose()Disposes of the end point.isDisposed
public boolean isDisposed()Checks if the client end point is disposed of.