Discuss this help topic in SecureBlackbox Forum


TElWebSocketBase     See also     

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

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


    event TSBWSTextDataEvent OnTextData;
    delegate void TSBWSTextDataEvent(Object Sender, string Text, bool Last);

    Event OnTextData As TSBWSTextDataEvent
    Delegate Sub TSBWSTextDataEvent(ByVal Sender As Object, ByVal Text As String, ByVal Last As Boolean)

    property OnTextData : TSBWSTextDataEvent;
    TSBWSTextDataEvent = procedure(Sender : TObject; const Text : string; Last : boolean) of object;

    void get_OnTextData(TSBWSTextDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTextData(TSBWSTextDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBWSTextDataEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcText, int32_t szText, int8_t Last);

    TSBWSTextDataEvent|callable|NULL get_OnTextData()
    void set_OnTextData(TSBWSTextDataEvent|callable|NULL $Value)
    callable TSBWSTextDataEvent(TObject $Sender, string $Text, bool $Last)


  • Text - the text that has been received.
  • Last - indicates whether the received text is the final part of a message.
  • pcText - the text that has been received.
  • szText - the length of pcText.


    This event is fired by the component when it received text data.

See also:     OnBinaryData    

Discuss this help topic in SecureBlackbox Forum