Discuss this help topic in SecureBlackbox Forum

TElSFTPServer.OnClose

TElSFTPServer     See also     


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


This event is fired when the connection to client is closed.

Declaration

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

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

[Pascal]
    property OnClose: TNotifyEvent;

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

[PHP]
    TNotifyEvent|callable|NULL get_OnClose()
    void set_OnClose(TNotifyEvent|callable|NULL $Value)
    callable TNotifyEvent(TObject $Sender)

[Java]
    TNotifyEvent getOnClose();
    void setOnClose(TNotifyEvent Value);
    TNotifyEvent.Callback OnClose = new TNotifyEvent.Callback() {
        public void TNotifyEventCallback(TObject Sender) {
            //...
        }
    }

Description

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

See also:     OnOpen     Close    

Discuss this help topic in SecureBlackbox Forum