Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.OnConnectionClose

TElSSHCustomForwarding     See also     


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


This event is fired after a forwarded connection is closed

Declaration

[C#]
    event TSBSSHConnectionEvent OnConnectionClose;
    delegate void TSBSSHConnectionEvent(Object Sender, TElSSHForwardedConnection Conn);

[VB.NET]
    Event OnConnectionClose As TSBSSHConnectionEvent
    Delegate Sub TSBSSHConnectionEvent(ByVal Sender As Object, ByVal Conn As TElSSHForwardedConnection)

[Pascal]
    property OnConnectionClose : TSBSSHConnectionEvent;
    TSBSSHConnectionEvent = procedure(Sender: TObject; Conn : TElSSHForwardedConnection) of object;

[C++]
    void get_OnConnectionClose(TSBSSHConnectionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnConnectionClose(TSBSSHConnectionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHConnectionEvent)(void * _ObjectData, TObjectHandle Sender, TElSSHForwardedConnectionHandle Conn);

[PHP]
    TSBSSHConnectionEvent|callable|NULL get_OnConnectionClose()
    void set_OnConnectionClose(TSBSSHConnectionEvent|callable|NULL $Value)
    callable TSBSSHConnectionEvent(TObject $Sender, TElSSHForwardedConnection $Conn)

[Java]
    TSBSSHConnectionEvent getOnConnectionClose();
    void setOnConnectionClose(TSBSSHConnectionEvent Value);
    TSBSSHConnectionEvent.Callback OnConnectionClose = new TSBSSHConnectionEvent.Callback() {
        public void TSBSSHConnectionEventCallback(TObject Sender, TElSSHForwardedConnection Conn) {
            //...
        }
    }

Parameters

  • Conn - The connection object which "contains" the closed connection

Description

    TElSSHCustomForwarding fires this event after the forwarded connection is closed. Conn parameter contains the object, which can be used for obtaining information about the closed connection.

See also:     OnConnectionOpen     OnConnectionWork     OnConnectionError    

Discuss this help topic in SecureBlackbox Forum