Discuss this help topic in SecureBlackbox Forum

TElSSHServer.OnOpenSession

TElSSHServer     See also     


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


This event is fired when new connection has been established.

Declaration

[C#]
    event TSSHOpenSessionEvent OnOpenSession;
    delegate void TSSHOpenSessionEvent(Object Sender, TElSSHTunnelConnection Connection);

[VB.NET]
    Event OnOpenSession As TSSHOpenSessionEvent
    Delegate Sub TSSHOpenSessionEvent(ByVal Sender As Object, ByVal Connection As TElSSHTunnelConnection)

[Pascal]
    property OnOpenSession: TSSHOpenSessionEvent;
    TSSHOpenSessionEvent = procedure(Sender: TObject; var Connection: TElSSHTunnelConnection) of object;

[C++]
    void get_OnOpenSession(TSSHOpenSessionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnOpenSession(TSSHOpenSessionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHOpenSessionEvent)(void * _ObjectData, TObjectHandle Sender, TElSSHTunnelConnectionHandle Connection);

[PHP]
    TSSHOpenSessionEvent|callable|NULL get_OnOpenSession()
    void set_OnOpenSession(TSSHOpenSessionEvent|callable|NULL $Value)
    callable TSSHOpenSessionEvent(TObject $Sender, TElSSHTunnelConnection $Connection)

[Java]
    TSSHOpenSessionEvent getOnOpenSession();
    void setOnOpenSession(TSSHOpenSessionEvent Value);
    TSSHOpenSessionEvent.Callback OnOpenSession = new TSSHOpenSessionEvent.Callback() {
        public void TSSHOpenSessionEventCallback(TObject Sender, TElSSHTunnelConnection Connection) {
            //...
        }
    }

Parameters

  • Connection - logical connection, which was created.

Description

    This event is fired when the server established new connection.

See also:     OnBeforeOpenSession     OnBeforeOpenCommand     OnBeforeOpenShell     OnBeforeOpenSubsystem    

Discuss this help topic in SecureBlackbox Forum