Discuss this help topic in SecureBlackbox Forum

TElSSHClass.OnCloseConnection

TElSSHClass     See also     


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


This event is fired when the connection to server is gracefully closed

Declaration

[C#]
    event TSSHCloseConnectionEvent OnCloseConnection;
    delegate void TSSHCloseConnectionEvent(Object Sender);

[VB.NET]
    Event OnCloseConnection As TSSHCloseConnectionEvent
    Delegate Sub TSSHCloseConnectionEvent(ByVal Sender As Object)

[Pascal]
    property OnCloseConnection : TSSHCloseConnectionEvent;
    TSSHCloseConnectionEvent = procedure (Sender: TObject) of object;

[C++]
    void get_OnCloseConnection(TSSHCloseConnectionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCloseConnection(TSSHCloseConnectionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHCloseConnectionEvent)(void * _ObjectData, TObjectHandle Sender);

[PHP]
    TSSHCloseConnectionEvent|callable|NULL get_OnCloseConnection()
    void set_OnCloseConnection(TSSHCloseConnectionEvent|callable|NULL $Value)
    callable TSSHCloseConnectionEvent(TObject $Sender)

[Java]
    TSSHCloseConnectionEvent getOnCloseConnection();
    void setOnCloseConnection(TSSHCloseConnectionEvent Value);
    TSSHCloseConnectionEvent.Callback OnCloseConnection = new TSSHCloseConnectionEvent.Callback() {
        public void TSSHCloseConnectionEventCallback(TObject Sender) {
            //...
        }
    }

Description

    TElSSHClient fires this event if the connection to server is gracefully closed. The connection closing may be initiated by the client or server side of connection.

See also:     OnOpenConnection     Close    

Discuss this help topic in SecureBlackbox Forum