Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.OnConnectionChange

TElSSHCustomForwarding     See also     


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


This event is fired after the state of the forwarded connection is changed

Declaration

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

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

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

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

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

[Java]
    TSBSSHConnectionEvent getOnConnectionChange();
    void setOnConnectionChange(TSBSSHConnectionEvent Value);
    TSBSSHConnectionEvent.Callback OnConnectionChange = new TSBSSHConnectionEvent.Callback() {
        public void TSBSSHConnectionEventCallback(TObject Sender, TElSSHForwardedConnection Conn) {
            //...
        }
    }

Parameters

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

Description

    TElSSHCustomForwarding fires this event after the state of the forwarded connection is changed to "closing" or "closed". Conn parameter contains the object, which can be used for obtaining information about the connection.

See also:     OnConnectionOpen     OnConnectionClose     OnConnectionWork     OnConnectionError    

Discuss this help topic in SecureBlackbox Forum