Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSServer.OnNewConnection

TElSimpleFTPSServer     See also     


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


This event is fired when new connection has been established.

Declaration

[C#]
    event TSBSimpleFTPSServerNewConnectionEvent OnNewConnection;
    delegate void TSBSimpleFTPSServerNewConnectionEvent(Object Sender, TElSimpleFTPSServerSessionThread Session);

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

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

[C++]
    void get_OnNewConnection(TSBSimpleFTPSServerNewConnectionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnNewConnection(TSBSimpleFTPSServerNewConnectionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSimpleFTPSServerNewConnectionEvent)(void * _ObjectData, TObjectHandle Sender, TElSimpleFTPSServerSessionThreadHandle Session);

[PHP]
    TSBSimpleFTPSServerNewConnectionEvent|callable|NULL get_OnNewConnection()
    void set_OnNewConnection(TSBSimpleFTPSServerNewConnectionEvent|callable|NULL $Value)
    callable TSBSimpleFTPSServerNewConnectionEvent(TObject $Sender, TElSimpleFTPSServerSessionThread $Session)

[Java]
    TSBSimpleFTPSServerNewConnectionEvent getOnNewConnection();
    void setOnNewConnection(TSBSimpleFTPSServerNewConnectionEvent Value);
    TSBSimpleFTPSServerNewConnectionEvent.Callback OnNewConnection = new TSBSimpleFTPSServerNewConnectionEvent.Callback() {
        public void TSBSimpleFTPSServerNewConnectionEventCallback(TObject Sender, TElSimpleFTPSServerSessionThread Session) {
            //...
        }
    }

Parameters

  • Session - contains session object that handles new connection

Description

    This event is fired by TElSimpleFTPSServer when new connection has been established.

See also:     OnBeforeNewConnection     OnCloseConnection    

Discuss this help topic in SecureBlackbox Forum