Discuss this help topic in SecureBlackbox Forum

TElWebSocketBase.OnBinaryData

TElWebSocketBase     See also     


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


This event is fired when a portion of binary data is received.

Declaration

[C#/Java]
    event TSBWSBinaryDataEvent OnBinaryData;
    delegate void TSBWSBinaryDataEvent(Object Sender, byte[] Buffer, bool Last);

[VB.NET]
    Event OnBinaryData As TSBWSBinaryDataEvent
    Delegate Sub TSBWSBinaryDataEvent(ByVal Sender As Object, ByVal Buffer As Byte(), ByVal Last As Boolean)

[Pascal]
    property OnBinaryData : TSBWSBinaryDataEvent;
    TSBWSBinaryDataEvent = procedure(Sender : TObject; Buffer : pointer; Size : integer; Last : boolean) of object;

[C++]
    void get_OnBinaryData(TSBWSBinaryDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBinaryData(TSBWSBinaryDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWSBinaryDataEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size, int8_t Last);

[PHP]
    TSBWSBinaryDataEvent|callable|NULL get_OnBinaryData()
    void set_OnBinaryData(TSBWSBinaryDataEvent|callable|NULL $Value)
    callable TSBWSBinaryDataEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size, bool $Last)

Parameters

  • Buffer - buffer containing the received data.
  • Size - specifies the size of the data in bytes.
  • Last - indicates whether the received piece of data is the final part of a message.

Description

    This event is fired when the component receives a piece of binary data.

See also:     OnTextData    

Discuss this help topic in SecureBlackbox Forum