OnixS C++ B3 BOE Binary Order Entry  1.2.0
API Documentation
NetworkMessage Class Reference

#include <OnixS/B3/BOE/messaging/NetworkMessage.h>

Public Member Functions

 NetworkMessage () noexcept
 
 NetworkMessage (const void *data, size_t size, SbeMessage::NoCheck) noexcept
 
 NetworkMessage (const void *data, size_t size)
 
const void * data () const noexcept
 
MessageSize size () const noexcept
 
void clear () noexcept
 
bool valid () const noexcept
 
SbeMessage message () const noexcept
 

Detailed Description

Definition at line 30 of file NetworkMessage.h.

Constructor & Destructor Documentation

NetworkMessage ( )
inlinenoexcept

Constructs an empty instance.

Definition at line 34 of file NetworkMessage.h.

NetworkMessage ( const void *  data,
size_t  size,
SbeMessage::NoCheck   
)
inlinenoexcept

Constructs NetworkMessage from a data block. Performs no checks.

Definition at line 40 of file NetworkMessage.h.

NetworkMessage ( const void *  data,
size_t  size 
)
inline

Constructs NetworkMessage from a data block.

Definition at line 60 of file NetworkMessage.h.

Member Function Documentation

void clear ( )
inlinenoexcept

Blank the instance.

Definition at line 94 of file NetworkMessage.h.

const void* data ( ) const
inlinenoexcept

Definition at line 82 of file NetworkMessage.h.

SbeMessage message ( ) const
inlinenoexcept

Retrieves the underlying SBE message.

Definition at line 109 of file NetworkMessage.h.

MessageSize size ( ) const
inlinenoexcept

Definition at line 88 of file NetworkMessage.h.

bool valid ( ) const
inlinenoexcept
Returns
true if the instance refers to a valid packet, otherwise - false.

Definition at line 102 of file NetworkMessage.h.


The documentation for this class was generated from the following file: