Interface IEndPoint

All Known Implementing Classes:
AbstractEndPoint, ClientEndPoint, FailedReconnectClientEndPoint, LoadBalancerEndPoint, RemoteBuilderEndPoint, ServerSession, VirtualizedMonitorEndPoint, VSViewerEndPoint

public interface IEndPoint
Interface for Server End Points.
Author:
Christopher Mindus
  • Field Details Link icon

    • STORAGE_NAME Link icon

      static final String STORAGE_NAME
      Local storage name in SessionInfo.
    • DEFAULT_HEARTBEAT_INTERVAL Link icon

      static final long DEFAULT_HEARTBEAT_INTERVAL
      Default heart-beat interval in milliseconds (15 seconds).
      See Also:
  • Method Details Link icon

    • getSessionInstance Link icon

      static IEndPoint getSessionInstance()
      Gets the runtime application instance for the current thread in a client session.
      Returns:
      The RuntimeApp instance when called from a thread of the client session, null otherwise.
    • getEndPointType Link icon

      IEndPoint.Type getEndPointType()
      Gets the end point type.
      Returns:
      The endpoint type.
    • getEndPointName Link icon

      String getEndPointName()
      Gets the end point name.
      Returns:
      A short descriptive end-point type name.
    • getServerSessionID Link icon

      long getServerSessionID()
      Gets the Server Session ID.
      Returns:
      The session ID.
    • getSessionInfo Link icon

      SessionInfo getSessionInfo()
      Gets the SessionInfo for this end point.
      Returns:
      The SessionInfo instance.
    • getServer Link icon

      ServerShell getServer()
      Gets the server instance.
      Returns:
      The server instance.
    • getWebSocketCommListener Link icon

      IServerWebSocketCommListener getWebSocketCommListener(IWebSocketComm comm)
      Gets the WebSocketCommListener for the end point.
      Parameters:
      comm - The WebSocket communication instance.
      Returns:
      The WebSocket listener.
    • dispose Link icon

      boolean dispose()
      Disposes of the end point.
      Returns:
      true if disposed, false if already disposed of.