Discuss this help topic in SecureBlackbox Forum

TElCustomSSHTunnel.OnClose

TElCustomSSHTunnel     See also     


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


This event is fired when one of the logical connections is closed.

Declaration

[C#]
    event TTunnelEvent OnClose;
    delegate void TTunnelEvent(Object Sender, TElSSHTunnelConnection TunnelConnection);

[VB.NET]
    Event OnClose As TTunnelEvent
    Delegate Sub TTunnelEvent(ByVal Sender As Object, ByVal TunnelConnection As TElSSHTunnelConnection)

[Pascal]
    property OnClose : TTunnelEvent;
    TTunnelEvent = procedure (Sender: TObject; TunnelConnection : TElSSHTunnelConnection) of object;

[C++]
    void get_OnClose(TTunnelEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnClose(TTunnelEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TTunnelEvent)(void * _ObjectData, TObjectHandle Sender, TElSSHTunnelConnectionHandle TunnelConnection);

[PHP]
    TTunnelEvent|callable|NULL get_OnClose()
    void set_OnClose(TTunnelEvent|callable|NULL $Value)
    callable TTunnelEvent(TObject $Sender, TElSSHTunnelConnection $TunnelConnection)

[Java]
    TTunnelEvent getOnClose();
    void setOnClose(TTunnelEvent Value);
    TTunnelEvent.Callback OnClose = new TTunnelEvent.Callback() {
        public void TTunnelEventCallback(TObject Sender, TElSSHTunnelConnection TunnelConnection) {
            //...
        }
    }

Parameters

  • TunnelConnection - The closed logical connection

Description

    This event is fired when logical connection is closed. Do not send any data to connection after this event has fired!

See also:     OnError     OnOpen    

Discuss this help topic in SecureBlackbox Forum