Discuss this help topic in SecureBlackbox Forum

TElSSHServer.OnOpenServerForwarding

TElSSHServer     See also     


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


This event is fired when the client allowed server forwarding.

Declaration

[C#]
    event TSSHOpenServerForwardingEvent OnOpenServerForwarding;
    delegate void TSSHOpenServerForwardingEvent(Object Sender, TElSSHTunnelConnection Connection);

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

[Pascal]
    property OnOpenServerForwarding: TSSHOpenServerForwardingEvent;
    TSSHOpenServerForwardingEvent = procedure(Sender: TObject; Connection: TElSSHTunnelConnection) of object;

[C++]
    void get_OnOpenServerForwarding(TSSHOpenServerForwardingEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnOpenServerForwarding(TSSHOpenServerForwardingEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHOpenServerForwardingEvent)(void * _ObjectData, TObjectHandle Sender, TElSSHTunnelConnectionHandle Connection);

[PHP]
    TSSHOpenServerForwardingEvent|callable|NULL get_OnOpenServerForwarding()
    void set_OnOpenServerForwarding(TSSHOpenServerForwardingEvent|callable|NULL $Value)
    callable TSSHOpenServerForwardingEvent(TObject $Sender, TElSSHTunnelConnection $Connection)

[Java]
    TSSHOpenServerForwardingEvent getOnOpenServerForwarding();
    void setOnOpenServerForwarding(TSSHOpenServerForwardingEvent Value);
    TSSHOpenServerForwardingEvent.Callback OnOpenServerForwarding = new TSSHOpenServerForwardingEvent.Callback() {
        public void TSSHOpenServerForwardingEventCallback(TObject Sender, TElSSHTunnelConnection Connection) {
            //...
        }
    }

Parameters

Description

    This event is fired (like OnServerForwardingFailed) as a response for OpenServerForwarding method if the client allowed data transfer. The client has to establish connection with the server named in OpenServerForwarding. The client has to transfer all data received via this logical connection to the remote host.

Discuss this help topic in SecureBlackbox Forum