Qore yaml Module 0.7.3
Loading...
Searching...
No Matches
DataStreamClient::DataStreamRecvMessage Class Referenceabstract

this class can be used to send and receive data using the DataStream protocol More...

#include <DataStreamClient.qm.dox.h>

Inheritance diagram for DataStreamClient::DataStreamRecvMessage:
DataStreamClient::DataStreamMessage

Public Member Methods

nothing recvData (auto data)
 receives decoded data from the remote end and calls recvDataImpl() More...
 
nothing recvDataDone (*string err)
 this method is called when all data has been received; this method calls recvDataDoneImpl() More...
 

Private Member Methods

nothing recvDataDoneImpl (*string err)
 this method is called when all data has been received More...
 
abstract nothing recvDataImpl (auto data)
 reimplement this method in subclasses to receive decoded and deserialized data More...
 

Detailed Description

this class can be used to send and receive data using the DataStream protocol

Member Function Documentation

◆ recvData()

nothing DataStreamClient::DataStreamRecvMessage::recvData ( auto  data)

receives decoded data from the remote end and calls recvDataImpl()

Parameters
datathe argument passed to this callback is the decoded and deserialized data in the message

◆ recvDataDone()

nothing DataStreamClient::DataStreamRecvMessage::recvDataDone ( *string  err)

this method is called when all data has been received; this method calls recvDataDoneImpl()

Parameters
errthis argument is nothing the sender does not report a send error, otherwise it's a single string giving the send error reported by the sending side in the DataStream-Error trailer record

◆ recvDataDoneImpl()

nothing DataStreamClient::DataStreamRecvMessage::recvDataDoneImpl ( *string  err)
private

this method is called when all data has been received

Parameters
errthis argument is nothing the sender does not report a send error, otherwise it's a single string giving the send error reported by the sending side in the DataStream-Error trailer record

◆ recvDataImpl()

abstract nothing DataStreamClient::DataStreamRecvMessage::recvDataImpl ( auto  data)
privatepure virtual

reimplement this method in subclasses to receive decoded and deserialized data

Parameters
datathe argument passed to this callback is the decoded and deserialized data in the message

The documentation for this class was generated from the following file: