Class ActiveTerminalSession

    • Field Detail

      • NAMES

        protected static final java.lang.String[] NAMES
        The list of terminal properties copied from TerminalProps.
      • REMOTE_EVENT_CONNECT

        protected static final int REMOTE_EVENT_CONNECT
        Connect host session remote event from monitor to server.
        See Also:
        Constant Field Values
      • REMOTE_EVENT_DISCONNECT

        protected static final int REMOTE_EVENT_DISCONNECT
        Disconnect host session remote event from monitor to server.
        See Also:
        Constant Field Values
      • REMOTE_EVENT_SUSPEND

        protected static final int REMOTE_EVENT_SUSPEND
        Suspends host session remote event from monitor to server.
        See Also:
        Constant Field Values
      • REMOTE_EVENT_RESUME

        protected static final int REMOTE_EVENT_RESUME
        Resume host session remote event from monitor to server.
        See Also:
        Constant Field Values
      • REMOTE_EVENT_CAPTURE

        protected static final int REMOTE_EVENT_CAPTURE
        Captures host screen remote event from monitor to server AND back.
        See Also:
        Constant Field Values
      • REMOTE_EVENT_ERROR

        protected static final int REMOTE_EVENT_ERROR
        The remote event from server to monitor that a host session failed.
        See Also:
        Constant Field Values
      • hostSessionProps

        protected HostSessionProps hostSessionProps
        The terminal properties instance when a session is created. The instance is created on the monitor (client) side and received on the server side. They do the communication of the terminal session.
    • Constructor Detail

      • ActiveTerminalSession

        public ActiveTerminalSession()
        Constructor.
    • Method Detail

      • onPropDispose

        protected void onPropDispose()
        Called when property is disposed of.
        Overrides:
        onPropDispose in class PropCnr
      • onEventSelf

        public void onEventSelf​(GEvent event)
        Property events go here, and a new terminal session request is received from the monitor (client) side if the HostSessionProps are created. Removal of the remote terminal is also processed here.
        Specified by:
        onEventSelf in interface IGProp<GProp<?>[]>
        Overrides:
        onEventSelf in class GProp<GProp<?>[]>
        Parameters:
        event - The property event.
      • onConnectionStateChanged

        public void onConnectionStateChanged()
        Called when the terminal state has changed in regards to connected/connecting/closing/closed.
        Specified by:
        onConnectionStateChanged in interface ITerminalStateListener