this class can be used to send and receive data using the DataStream protocol
More...
#include <DataStreamClient.qm.dox.h>
|
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...
|
|
this class can be used to send and receive data using the DataStream protocol
◆ recvData()
nothing DataStreamClient::DataStreamRecvMessage::recvData |
( |
auto |
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 |
◆ recvDataDone()
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 |
◆ recvDataDoneImpl()
nothing DataStreamClient::DataStreamRecvMessage::recvDataDoneImpl |
( |
*string |
err | ) |
|
|
private |
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 |
◆ recvDataImpl()
abstract nothing DataStreamClient::DataStreamRecvMessage::recvDataImpl |
( |
auto |
data | ) |
|
|
privatepure 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 |
The documentation for this class was generated from the following file:
- doxygen/qlib/DataStreamClient/DataStreamClient.qm.dox.h