[#Transport-GetReceivedMessage] = xref:Transport.adoc[Transport]::GetReceivedMessage :relfileprefix: ../ :mrdocs: Retrieve a completed message from transport. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:CNetMessage.adoc[CNetMessage] GetReceivedMessage( xref:NodeClock/time_point.adoc[NodeClock::time_point] time, bool& reject_message) = 0; ---- == Description 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. == Return Value the completed message. == Parameters [cols="1,4"] |=== | Name| Description | *time* [in] | receipt time to stamp on the returned message. | *reject_message* [out] | set to true if the message should be rejected. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#