Discuss this help topic in SecureBlackbox Forum


TElAS2Client     See also     

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

This event is fired when some data from server received.


    event TSBDataEvent OnData;
    delegate void TSBDataEvent(Object Sender, byte[] Buffer);

    Event OnData As TSBDataEvent
    Delegate Sub TSBDataEvent(ByVal Sender As Object, ByVal Buffer As Byte())

    property OnData: TSBDataEvent;
    TSBDataEvent = procedure(Sender: TObject; Buffer: pointer; Size: longint) of object;

    void get_OnData(TSBDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnData(TSBDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDataEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

    TSBDataEvent|callable|NULL get_OnData()
    void set_OnData(TSBDataEvent|callable|NULL $Value)
    callable TSBDataEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)

    TSBDataEvent getOnData();
    void setOnData(TSBDataEvent Value);
    TSBDataEvent.Callback OnData = new TSBDataEvent.Callback() {
        public void TSBDataEventCallback(TObject arg0, byte[] arg1) {


  • Buffer - buffer with received data
  • Size - size of the received data


    This event is fired by TElAS2Client when some data from server is received.

See also:     OnCookie    

Discuss this help topic in SecureBlackbox Forum