Discuss this help topic in SecureBlackbox Forum

TElSSHServer.OnTerminalRequest

TElSSHServer     See also     


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


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

Declaration

[C#]
    event TSSHTerminalRequestEvent OnTerminalRequest;
    delegate void TSSHTerminalRequestEvent(Object Sender, TElSSHTunnelConnection Connection, TElTerminalInfo Info, ref bool Accept);

[VB.NET]
    Event OnTerminalRequest As TSSHTerminalRequestEvent
    Delegate Sub TSSHTerminalRequestEvent(ByVal Sender As Object, ByVal Connection As TElSSHTunnelConnection, ByVal Info As TElTerminalInfo, ByRef Accept As Boolean)

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

[C++]
    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);

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

[Java]
    TSSHTerminalRequestEvent getOnTerminalRequest();
    void setOnTerminalRequest(TSSHTerminalRequestEvent Value);
    TSSHTerminalRequestEvent.Callback OnTerminalRequest = new TSSHTerminalRequestEvent.Callback() {
        public void TSSHTerminalRequestEventCallback(TObject Sender, TElSSHTunnelConnection Connection, TElTerminalInfo Info, TSBBoolean Accept) {
            //...
        }
    }

Parameters

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

Description

    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