Discuss this help topic in SecureBlackbox Forum

TElSimpleSSLClient.OnData

TElSimpleSSLClient     See also     


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


This event is used to pass the decoded data to the application.

Declaration

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

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

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

[C++]
    not available

[PHP]
    not available

Parameters

  • Buffer - the block of decoded data ready to use by application.
  • Size - the length of the data block.

Description

    This event is fired by TElSimpleSSLClient when it has decoded the received data block, and this data block is ready to be used by the application.
    If the application uses synchronous data exchange, it should write the data to some buffer and then synchronously read the data from that buffer.

See also:     OnReceive    

Discuss this help topic in SecureBlackbox Forum