Discuss this help topic in SecureBlackbox Forum

TElDTLSServerFactory.OnSend

TElDTLSServerFactory     See also     


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


This event is fired by TElDTLSServerFactory when it is sending data.

Declaration

[C#]
    event TSBDTLSSendEvent OnSend;
    delegate void TSBDTLSSendEvent(Object Sender, byte[] Buffer, byte[] ClientID);

[VB.NET]
    Event OnSend As TSBDTLSSendEvent
    Delegate Sub TSBDTLSSendEvent(ByVal Sender As Object, ByVal Buffer As Byte(), ByVal ClientID As Byte())

[Pascal]
    property OnSend : TSBDTLSSendEvent;
    TSBDTLSSendEvent = procedure(Sender: TObject; Buffer : pointer; Size : integer; const ClientID : ByteArray) of object;

[C++]
    void get_OnSend(TSBDTLSSendEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSend(TSBDTLSSendEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDTLSSendEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size, const uint8_t pClientID[], int32_t szClientID);

[PHP]
    TSBDTLSSendEvent|callable|NULL get_OnSend()
    void set_OnSend(TSBDTLSSendEvent|callable|NULL $Value)
    callable TSBDTLSSendEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size, string $ClientID)

[Java]
    TSBDTLSSendEvent getOnSend();
    void setOnSend(TSBDTLSSendEvent Value);
    TSBDTLSSendEvent.Callback OnSend = new TSBDTLSSendEvent.Callback() {
        public void TSBDTLSSendEventCallback(TObject arg0, byte[] arg1, byte[] arg2) {
            //...
        }
    }

Parameters

  • Buffer - the datagram being sent
  • Size - the length of Buffer in bytes
  • ClientID - unique ID of the client
  • pClientID -
  • szClientID - the length of pcClientID.

Description

    This event is fired by TElDTLSServerFactory when it is sending data to the client.

See also:     ProcessRequest    

Discuss this help topic in SecureBlackbox Forum