Discuss this help topic in SecureBlackbox Forum


TElSSLClient     See also     

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

This event is fired when secure connection is closed.


    event TSBCloseConnectionEvent OnCloseConnection;
    delegate void TSBCloseConnectionEvent(Object Sender, TSBCloseReason CloseReason);

    Event OnCloseConnection As TSBCloseConnectionEvent
    Delegate Sub TSBCloseConnectionEvent(ByVal Sender As Object, ByVal CloseReason As TSBCloseReason)

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

    void get_OnCloseConnection(TSBCloseConnectionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCloseConnection(TSBCloseConnectionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCloseConnectionEvent)(void * _ObjectData, TObjectHandle Sender, TSBCloseReasonRaw CloseReason);

    TSBCloseConnectionEvent|callable|NULL get_OnCloseConnection()
    void set_OnCloseConnection(TSBCloseConnectionEvent|callable|NULL $Value)
    callable TSBCloseConnectionEvent(TObject $Sender, integer $CloseReason)


  • CloseReason - defines the reason of connection closing.

TSBCloseReason values:


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

See also:     TElSSLClass.OnOpenConnection    

Discuss this help topic in SecureBlackbox Forum