Class ClientEndPoint

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

public class ClientEndPoint extends Object implements IEndPoint
The main class for an Client session running in the Server.
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.
    • getTransactionProcessor

      public ClientTransactionProcessor getTransactionProcessor()
      Gets the client transaction processor.
    • 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.