Discuss this help topic in SecureBlackbox Forum

TElSSHCustomForwarding.OnConnectionOpen

TElSSHCustomForwarding     See also     


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


This event is fired when new forwarded connection is opened

Declaration

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

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

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

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

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

[Java]
    TSBSSHConnectionEvent getOnConnectionOpen();
    void setOnConnectionOpen(TSBSSHConnectionEvent Value);
    TSBSSHConnectionEvent.Callback OnConnectionOpen = new TSBSSHConnectionEvent.Callback() {
        public void TSBSSHConnectionEventCallback(TObject Sender, TElSSHForwardedConnection Conn) {
            //...
        }
    }

Parameters

  • Conn - The connection object which "contains" newly created connection

Description

    TElSSHCustomForwarding fires this event when new forwarded connection appears. Conn parameter contains the object, which can be used for managing or obtaining information about the connection.

See also:     OnConnectionClose     OnConnectionWork     OnConnectionError    

Discuss this help topic in SecureBlackbox Forum