Class FailedReconnectClientEndPoint

java.lang.Object
com.iizix.server.client.FailedReconnectClientEndPoint
All Implemented Interfaces:
IEndPoint

public class FailedReconnectClientEndPoint extends Object implements 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
  • Method Details

    • getStatistics

      public SessionStatistics getStatistics()
      Returns the session statistics.
    • getWebSocketCommListener

      public IServerWebSocketCommListener getWebSocketCommListener(IWebSocketComm comm)
      Gets the WebSocketCommListener for the end point.
      Specified by:
      getWebSocketCommListener in interface IEndPoint
      Parameters:
      comm - The WebSocket communication instance.
      Returns:
      The WebSocket listener.
    • getServerSessionID

      public long getServerSessionID()
      Gets the Server Session ID.
      Specified by:
      getServerSessionID in interface IEndPoint
      Returns:
      The session ID.
    • getServer

      public ServerShell getServer()
      Gets the server instance.
      Specified by:
      getServer in interface IEndPoint
      Returns:
      The server instance.
    • getEndPointType

      public IEndPoint.Type getEndPointType()
      Gets the end point type.
      Specified by:
      getEndPointType in interface IEndPoint
      Returns:
      The endpoint type.
    • getEndPointName

      public String getEndPointName()
      Gets the end point name.
      Specified by:
      getEndPointName in interface IEndPoint
      Returns:
      A short descriptive end-point type name.
    • getSessionInfo

      public SessionInfo getSessionInfo()
      Gets the SessionInfo for this end point.
      Specified by:
      getSessionInfo in interface IEndPoint
      Returns:
      The SessionInfo instance.
    • dispose

      public boolean dispose()
      Disposes of the end point.
      Specified by:
      dispose in interface IEndPoint
      Returns:
      true if disposed, false if already disposed of.
    • isDisposed

      public boolean isDisposed()
      Checks if the client end point is disposed of.