Qore yaml Module 1.0.0
Loading...
Searching...
No Matches
DataStreamClient::DataStreamRecvMessage Class Reference

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()
 
nothing recvDataDone (*string err)
 this method is called when all data has been received; this method calls recvDataDoneImpl()
 

Private Member Methods

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

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)
private

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: