63 namespace DataStreamRequestHandler {
*string send_error
send error string received
Definition: DataStreamRequestHandler.qm.dox.h:89
*hash getErrorResponse()
if an error occurred, then return a hash giving an error response, otherwise return nothing ...
nothing recvData(any data)
This is the concrete method called when data is received; it calls recvDataImpl() in turn...
hash getResponseHeaderMessageImpl()
returns the response header to the request
any sendImpl()
calls the send callback as returned by the DataStreamUtil module, which in turn calls sendDataImpl() ...
bool send_done
flag for when all data has been sent
Definition: DataStreamRequestHandler.qm.dox.h:83
nothing recvImpl(hash v)
calls the receive callback as returned by the DataStreamUtil module, which in turn calls recvDataImpl...
abstract nothing recvDataImpl(any data)
reimplement this method in subclasses to receive decoded and deserialized data
nothing recvDataDoneImpl(*string err)
this method is called when all data has been received
constructor(hash cx, *hash ah)
creates the chunked request handler according to the arguments
bool recv_done
flag for when all data has been received
Definition: DataStreamRequestHandler.qm.dox.h:80
nothing recvDataDone(*string err)
this method is called when all data has been received
this class implements a chunked request handler supporting the DataStream protocol ...
Definition: DataStreamRequestHandler.qm.dox.h:69
int err
HTTP status code for error response sent.
Definition: DataStreamRequestHandler.qm.dox.h:86
abstract any sendDataImpl()
reimplement this method in subclasses to support streamed data transfers; when this method returns no...
code scb
the send callback as returned by the DataStreamUtil module
Definition: DataStreamRequestHandler.qm.dox.h:77
any sendData()
This is the concrete method called when data is received; it calls recvDataImpl() in turn...
code rcb
the receive callback as returned by the DataStreamUtil module
Definition: DataStreamRequestHandler.qm.dox.h:74