Discuss this help topic in SecureBlackbox Forum

TElCommandSSLClient.OnReceived

TElCommandSSLClient     See also     


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


The event is fired when the line of text is received from the server

Declaration

[C#/Java]
    event TSBTextDataEvent OnReceived;
    delegate void TSBTextDataEvent(Object Sender, byte[] TextLine);

[VB.NET]
    Event OnReceived As TSBTextDataEvent
    Delegate Sub TSBTextDataEvent(ByVal Sender As Object, ByVal TextLine As Byte())

[Pascal]
    under development

[C++]
    void get_OnReceived(TSBTextDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnReceived(TSBTextDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBTextDataEvent)(void * _ObjectData, TObjectHandle Sender, const uint8_t pTextLine[], int32_t szTextLine);

[PHP]
    TSBTextDataEvent|callable|NULL get_OnReceived()
    void set_OnReceived(TSBTextDataEvent|callable|NULL $Value)
    callable TSBTextDataEvent(TObject $Sender, string $TextLine)

Parameters

  • pTextLine - The text line that has been received from the server
  • TextLine - The text line that has been received from the server
  • szTextLine - the length of pcTextLine.

Description

    Use this event to capture and log the text line sent by the server (it can be a response to a command or a data block, depending on the operation).

See also:     OnSent event    

Discuss this help topic in SecureBlackbox Forum