[#CNetMessage]
= CNetMessage
:mrdocs:

Transport protocol agnostic message container&period; Ideally it should only contain receive time, payload, type and size&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class CNetMessage;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:CNetMessage/2constructor-0e.adoc[`CNetMessage`]         [.small]#[constructor]#
| Constructors
| xref:CNetMessage/operator_assign-02.adoc[`operator&equals;`] 
| Assignment operators
| xref:CNetMessage/GetMemoryUsage.adoc[`GetMemoryUsage`] 
| Compute total memory usage of this object (own memory &plus; any dynamic memory)&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:CNetMessage/m_message_size.adoc[`m&lowbar;message&lowbar;size`] 
| size of the payload
| xref:CNetMessage/m_raw_message_size.adoc[`m&lowbar;raw&lowbar;message&lowbar;size`] 
| used wire size of the message (including header&sol;checksum)
| xref:CNetMessage/m_recv.adoc[`m&lowbar;recv`] 
| received message data
| xref:CNetMessage/m_time.adoc[`m&lowbar;time`] 
| time of message receipt
| xref:CNetMessage/m_type.adoc[`m&lowbar;type`] 
| message type (command) string
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
