Discuss this help topic in SecureBlackbox Forum


TElCustomSSHTunnel     See also     

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

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


    event TTunnelEvent OnClose;
    delegate void TTunnelEvent(Object Sender, TElSSHTunnelConnection TunnelConnection);

    Event OnClose As TTunnelEvent
    Delegate Sub TTunnelEvent(ByVal Sender As Object, ByVal TunnelConnection As TElSSHTunnelConnection)

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

    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);

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

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


  • TunnelConnection - The closed logical connection


    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