this class can be used to send and receive data using the DataStream protocol
More...
this class can be used to send and receive data using the DataStream protocol
nothing DataStreamClient::DataStreamRecvMessage::recvData |
( |
any |
data | ) |
|
receives decoded data from the remote end and calls recvDataImpl()
- Parameters
-
data | the argument passed to this callback is the decoded and deserialized data in the message |
nothing DataStreamClient::DataStreamRecvMessage::recvDataDone |
( |
*string |
err | ) |
|
this method is called when all data has been received; this method calls recvDataDoneImpl()
- Parameters
-
err | this 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 |
private nothing DataStreamClient::DataStreamRecvMessage::recvDataDoneImpl |
( |
*string |
err | ) |
|
this method is called when all data has been received
- Parameters
-
err | this 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 |
abstract private nothing DataStreamClient::DataStreamRecvMessage::recvDataImpl |
( |
any |
data | ) |
|
|
pure virtual |
reimplement this method in subclasses to receive decoded and deserialized data
- Parameters
-
data | the argument passed to this callback is the decoded and deserialized data in the message |