Discuss this help topic in SecureBlackbox Forum


TElSSHServer     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

This event is fired when the client requests a terminal for a session.


    event TSSHTerminalRequestEvent OnTerminalRequest;
    delegate void TSSHTerminalRequestEvent(object Sender, TElSSHTunnelConnection Connection, TElTerminalInfo Info, ref bool Accept)

    Event OnTerminalRequest As TSSHTerminalRequestEvent
    Delegate Sub TSSHTerminalRequestEvent(ByVal Sender As Object, ByVal Connection As TElSSHTunnelConnection, ByVal Info As TElTerminalInfo, ByRef Accept As Boolean)

    property OnTerminalRequest : TSSHTerminalRequestEvent;
    TSSHTerminalRequestEvent = procedure(Sender: TObject; Connection: TElSSHTunnelConnection; Info: TElTerminalInfo; var Accept: boolean) of object;

    void get_OnTerminalRequest(TSSHTerminalRequestEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTerminalRequest(TSSHTerminalRequestEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHTerminalRequestEvent)(void * _ObjectData, TObjectHandle Sender, TElSSHTunnelConnectionHandle Connection, TElTerminalInfoHandle Info, int8_t &Accept);

    TSSHTerminalRequestEvent|callable|NULL get_OnTerminalRequest()
    void set_OnTerminalRequest(TSSHTerminalRequestEvent|callable|NULL $Value)
    callable TSSHTerminalRequestEvent(TObject $Sender, TElSSHTunnelConnection $Connection, TElTerminalInfo $Info, bool &$Accept)


  • Connection - logical connection with established session
  • Info - contains terminal parameters requested by client
  • Accept - specifies if terminal will be allowed


    Client can request a terminal for established session. Depending on required terminal type, parameters and server's configuration server can either provide the client with a terminal or deny it.

See also:     OnBeforeOpenSession     OnOpenSession    

Discuss this help topic in SecureBlackbox Forum