Package com.iizix.server.client
Class FailedReconnectClientEndPoint
- java.lang.Object
- com.iizix.server.client.FailedReconnectClientEndPoint
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandispose()Disposes of the end point.java.lang.StringgetEndPointName()Gets the end point name.IEndPoint.TypegetEndPointType()Gets the end point type.ServerShellgetServer()Gets the server instance.longgetServerSessionID()Gets the Server Session ID.SessionInfogetSessionInfo()Gets the SessionInfo for this end point.SessionStatisticsgetStatistics()Returns the session statistics.IServerWebSocketCommListenergetWebSocketCommListener(IWebSocketComm comm)Gets the WebSocketCommListener for the end point.booleanisDisposed()Checks if the client end point is disposed of.
Method Detail
getStatistics
public SessionStatistics getStatistics()
Returns the session statistics.
getWebSocketCommListener
public IServerWebSocketCommListener getWebSocketCommListener(IWebSocketComm comm)
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
public ServerShell getServer()
Gets the server instance.
getEndPointType
public IEndPoint.Type getEndPointType()
Gets the end point type.- Specified by:
getEndPointTypein interfaceIEndPoint- Returns:
- The endpoint type.
getEndPointName
public java.lang.String getEndPointName()
Gets the end point name.- Specified by:
getEndPointNamein interfaceIEndPoint- Returns:
- A short descriptive end-point type name.
getSessionInfo
public SessionInfo 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.