Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSServer.OnCloseConnection

TElSimpleFTPSServer     See also     


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


This event is fired when secure connection is closed.

Declaration

[C#]
    event TSBSimpleFTPSServerCloseConnectionEvent OnCloseConnection;
    delegate void TSBSimpleFTPSServerCloseConnectionEvent(Object Sender, TElSimpleFTPSServerSessionThread Session);

[VB.NET]
    Event OnCloseConnection As TSBSimpleFTPSServerCloseConnectionEvent
    Delegate Sub TSBSimpleFTPSServerCloseConnectionEvent(ByVal Sender As Object, ByVal Session As TElSimpleFTPSServerSessionThread)

[Pascal]
    property OnCloseConnection : TSBSimpleFTPSServerCloseConnectionEvent;
    TSBSimpleFTPSServerCloseConnectionEvent = procedure (Sender : TObject; Session : TElSimpleFTPSServerSessionThread) of object;

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

[PHP]
    TSBSimpleFTPSServerCloseConnectionEvent|callable|NULL get_OnCloseConnection()
    void set_OnCloseConnection(TSBSimpleFTPSServerCloseConnectionEvent|callable|NULL $Value)
    callable TSBSimpleFTPSServerCloseConnectionEvent(TObject $Sender, TElSimpleFTPSServerSessionThread $Session)

[Java]
    TSBSimpleFTPSServerCloseConnectionEvent getOnCloseConnection();
    void setOnCloseConnection(TSBSimpleFTPSServerCloseConnectionEvent Value);
    TSBSimpleFTPSServerCloseConnectionEvent.Callback OnCloseConnection = new TSBSimpleFTPSServerCloseConnectionEvent.Callback() {
        public void TSBSimpleFTPSServerCloseConnectionEventCallback(TObject Sender, TElSimpleFTPSServerSessionThread Session) {
            //...
        }
    }

Parameters

  • Session - reference to the object containing the closed session

Description

    This event is fired by TElSimpleFTPSServer when a secure session is closed. After this event is fired the application should not send data.

See also:     OnNewConnection    

Discuss this help topic in SecureBlackbox Forum