Package com.iizix.server
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
- Nested Class SummaryNested Classes
- Field SummaryFieldsModifier and TypeFieldDescription- static final longDefault heart-beat interval in milliseconds (20 seconds).- static final StringLocal storage name in SessionInfo.
- Method SummaryModifier and TypeMethodDescription- boolean- dispose()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.- static IEndPointGets the runtime application instance for the current thread in a client session.Gets the WebSocketCommListener for the end point.
- Field Details- STORAGE_NAMELocal storage name in SessionInfo.
- DEFAULT_HEARTBEAT_INTERVALstatic final long DEFAULT_HEARTBEAT_INTERVALDefault heart-beat interval in milliseconds (20 seconds).- See Also:
 
 
- Method Details- getSessionInstanceGets 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, nullotherwise.
 
- getEndPointTypeIEndPoint.Type getEndPointType()Gets the end point type.- Returns:
- The endpoint type.
 
- getEndPointNameString getEndPointName()Gets the end point name.- Returns:
- A short descriptive end-point type name.
 
- getServerSessionIDlong getServerSessionID()Gets the Server Session ID.- Returns:
- The session ID.
 
- getSessionInfoSessionInfo getSessionInfo()Gets the SessionInfo for this end point.- Returns:
- The SessionInfo instance.
 
- getServerServerShell getServer()Gets the server instance.- Returns:
- The server instance.
 
- getWebSocketCommListenerGets the WebSocketCommListener for the end point.- Parameters:
- comm- The WebSocket communication instance.
- Returns:
- The WebSocket listener.
 
- disposeboolean dispose()Disposes of the end point.- Returns:
- true if disposed, false if already disposed of.