Represent a record. More...
|Construct an empty record. More...|
|Record (RecordType type, const RecordPayload &payload, const RecordID &id, bool chunk, bool last_record)|
|Construct a record from its type, payload and id. More...|
|Type of the record. More...|
|Value of the payload. More...|
|ID of the record. More...|
|If true, this record is a chunked record. More...|
|If true, this record is the last one of the payload containing it. More...|
|const RecordPayload &||payload,|
|const RecordID &||id,|
Construct a record from its type, payload and id.
The flags chunk and last_record can be added to indicate if the record is aprt of a chunk or the last one in a message.
|type||The type of the record.|
|payload||The payload of the record.|
|id||The id associated with the record.|
|chunk||If true then this record is a chunk of a bigger record.|
|last_record||If true then this record is the last of the message containing it.|