Discuss this help topic in SecureBlackbox Forum

TElBaseSocketClient.OnCloseConnection

TElBaseSocketClient     See also     


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


This event is fired when socket connection is closed.

Declaration

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

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

[Pascal]
    property OnCloseConnection : TSBCloseConnectionEvent;
    TSBCloseConnectionEvent = procedure(Sender : TObject; CloseReason : TSBCloseReason) of object;

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

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

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

Description

This event is fired by the client when the socket connection is closed. When this event is fired the client operations on the remote host (e.g., file operations of the SFTP client) may not be performed.

See also:     Active    

Discuss this help topic in SecureBlackbox Forum