Discuss this help topic in SecureBlackbox Forum

TElCustomSimpleSSLClient.OnCloseConnection

TElCustomSimpleSSLClient     See also     


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


This event is fired when secure connection is closed.

Declaration

[C#]
    event TSBCloseConnectionEvent OnCloseConnection;
    delegate void TSBCloseConnectionEvent(Object Sender, TSBCloseReason CloseReason);

[VB.NET]
    Event OnCloseConnection As TSBCloseConnectionEvent
    Delegate Sub TSBCloseConnectionEvent(ByVal Sender As Object, ByVal CloseReason As TSBCloseReason)

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

[C++]
    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);

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

[Java]
    TSBCloseConnectionEvent getOnCloseConnection();
    void setOnCloseConnection(TSBCloseConnectionEvent Value);
    TSBCloseConnectionEvent.Callback OnCloseConnection = new TSBCloseConnectionEvent.Callback() {
        public void TSBCloseConnectionEventCallback(TObject Sender, TSBCloseReason CloseReason) {
            //...
        }
    }

Parameters

  • CloseReason - defines the reason of connection closing.

TSBCloseReason values

Description

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

See also:     Close    

Discuss this help topic in SecureBlackbox Forum