OnixS C++ CME iLink 3 Binary Order Entry Handler 1.18.9
API Documentation
Loading...
Searching...
No Matches
NetworkMessage Class Reference

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

Constructor & Destructor Documentation

◆ NetworkMessage() [1/3]

NetworkMessage ( )
inlinenoexcept

Constructs an empty instance.

Definition at line 36 of file NetworkMessage.h.

◆ NetworkMessage() [2/3]

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

Constructs NetworkMessage from a data block. Performs no checks.

Definition at line 42 of file NetworkMessage.h.

◆ NetworkMessage() [3/3]

NetworkMessage ( const void * data,
size_t size )
inline

Constructs NetworkMessage from a data block.

Definition at line 62 of file NetworkMessage.h.

Member Function Documentation

◆ clear()

void clear ( )
inlinenoexcept

Blank the instance.

Definition at line 96 of file NetworkMessage.h.

◆ data()

const void * data ( ) const
inlinenoexcept

Definition at line 84 of file NetworkMessage.h.

◆ message()

SbeMessage message ( ) const
inlinenoexcept

Retrieves the underlying SBE message.

Definition at line 111 of file NetworkMessage.h.

◆ size()

MessageSize size ( ) const
inlinenoexcept

Definition at line 90 of file NetworkMessage.h.

◆ valid()

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

Definition at line 104 of file NetworkMessage.h.