EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElSecureServer.OnCloseConnection

TElSecureServer     See also    


 

This event is fired when secure connection is closed.

 
 

Declaration

[C#]
    event TSBCloseConnectionEvent OnCloseConnection;
    delegate void TSBCloseConnectionEvent(object Sender, int CloseDescription)

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

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

[VB6]
    Event IElSecureServerXEvents.OnCloseConnection(CloseReason As TxSBCloseReason)

[ActiveX]
    HRESULT IElSecureServerXEvents.OnCloseConnection([in] TxSBCloseReason Reason);

[DLL]
    __stdcall void SBServerSetOnCloseConnection(HANDLE handle, OnCloseConnectionProc code, long UserData);
    __stdcall (*OnCloseConnectionProc)(HANDLE handle, long UserData, int Reason);
 
 

Parameters

  • [DLL]handle - handle to the TElSecureServer object that was returned by Constructor
  • [DLL]Code - pointer to the callback function that is called when connection is opened
  • [DLL]UserData - application-defined data that is passed back to the callback function
  • Reason (CloseDescription) - defines the reason of connection closing. Session completion is CR_CLOSE and CR_ERROR is used when there was some error during secure handshake.
 
 

Values:

[.NET] [Pascal] [ActiveX] [DLL] Description
crClose = 0 crClose SB_CR_CLOSE = 0 Session is closed gracefully.
crError = 1 crError SB_CR_ERROR = 1 Session is closed because of the error.
Declared in
[.NET] [Pascal]
Namespace: SBClient
Assembly: SecureBlackbox.SSLClient
Unit: SBClient

 
 

Description

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

 
 

See also:     OnOpenConnection    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation