Discuss this help topic in SecureBlackbox Forum

TElSimpleSSLClient.OnSend

TElSimpleSSLClient     See also     


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


This event is used to write the encrypted data to the socket.

Declaration

[C#/Java]
    event TSBSendEvent OnSend;
    delegate void TSBSendEvent(object Sender, byte[] Buffer);

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

[Pascal]
    property OnSend : TSBDataEvent;
    TSBSendEvent = procedure (Sender: TObject; Buffer : Pointer; Size : LongInt) of object;

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

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

Parameters

  • Buffer - the block of encoded data that is to be written to the socket.
  • Size - ...

Description

    This event is fired by TElSimpleSSLClient when it has encoded the data block and wants to write the encoded block to the socket. The event is used when UseInternalSocket is false.

See also:     SendData     UseInternalSocket    

Discuss this help topic in SecureBlackbox Forum