Discuss this help topic in SecureBlackbox Forum

TElDTLSServerFactory.OnServerCreated

TElDTLSServerFactory     See also     


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


This event is fired by TElDTLSServerFactory when it has created a DTLS server.

Declaration

[C#]
    event TSBDTLSServerCreatedEvent OnServerCreated;
    delegate void TSBDTLSServerCreatedEvent(Object Sender, TElDTLSServer Server, byte[] ClientID);

[VB.NET]
    Event OnServerCreated As TSBDTLSServerCreatedEvent
    Delegate Sub TSBDTLSServerCreatedEvent(ByVal Sender As Object, ByVal Server As TElDTLSServer, ByVal ClientID As Byte())

[Pascal]
    property OnServerCreated : TSBDTLSServerCreatedEvent;
    TSBDTLSServerCreatedEvent = procedure(Sender: TObject; Server : TElDTLSServer; const ClientID : ByteArray) of object;

[C++]
    void get_OnServerCreated(TSBDTLSServerCreatedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnServerCreated(TSBDTLSServerCreatedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDTLSServerCreatedEvent)(void * _ObjectData, TObjectHandle Sender, TElDTLSServerHandle Server, const uint8_t pClientID[], int32_t szClientID);

[PHP]
    TSBDTLSServerCreatedEvent|callable|NULL get_OnServerCreated()
    void set_OnServerCreated(TSBDTLSServerCreatedEvent|callable|NULL $Value)
    callable TSBDTLSServerCreatedEvent(TObject $Sender, TElDTLSServer $Server, string $ClientID)

[Java]
    TSBDTLSServerCreatedEvent getOnServerCreated();
    void setOnServerCreated(TSBDTLSServerCreatedEvent Value);
    TSBDTLSServerCreatedEvent.Callback OnServerCreated = new TSBDTLSServerCreatedEvent.Callback() {
        public void TSBDTLSServerCreatedEventCallback(TObject Sender, TElDTLSServer Server, byte[] ClientID) {
            //...
        }
    }

Parameters

  • Server - the newly created server
  • ClientID - unique ID of the client
  • pClientID -
  • szClientID - the length of pcClientID.

Description

    This event is fired by TElDTLSServerFactory when the client has succeeded verification and DTLS server has been created for incoming connection. User can simply manage the properties of the newly created TElDTLSServer instance.

See also:     ProcessRequest    

Discuss this help topic in SecureBlackbox Forum