Retrieve a completed message from transport.
Declared in <net.h>
virtual
CNetMessage
GetReceivedMessage(
NodeClock::time_point time,
bool& reject_message) = 0;
This can only be called when ReceivedMessageComplete() is true.
If reject_message=true is returned the message itself is invalid, but (other than false returned by ReceivedBytes) the transport is not in an inconsistent state.
the completed message.
| Name | Description |
|---|---|
| time [in] | receipt time to stamp on the returned message. |
| reject_message [out] | set to true if the message should be rejected. |