OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
Packet Class Reference

#include <OnixS/CME/MDH/Packet.h>

Public Member Functions

 Packet ()
 
 Packet (const void *data, PacketSize size)
 
 Packet (const void *data, PacketSize size, const NoVerify &)
 
 Packet (const Packet &other)
 
 ~Packet ()
 
 operator bool () const
 
const void * data () const
 
PacketSize size () const
 
SequenceNumber seqNumber () const
 
const TimestampsendingTime () const
 
BinaryMessages messages () const
 
void reset ()
 
void reset (const void *data, PacketSize size)
 
void reset (const void *data, PacketSize size, const NoVerify &)
 
Packetoperator= (const Packet &other)
 

Detailed Description

Definition at line 177 of file Packet.h.

Constructor & Destructor Documentation

Packet ( )
inline

Initializes blank instance.

Definition at line 181 of file Packet.h.

Packet ( const void *  data,
PacketSize  size 
)
inline

Initializes binary packet over the given buffer.

Exceptions
std::exceptionif given buffer doesn't satisfy base requirements on well-formed CME packet.

Definition at line 191 of file Packet.h.

Packet ( const void *  data,
PacketSize  size,
const NoVerify  
)
inline

Initializes binary packet over the given buffer.

Verification of the incoming content is omitted.

Definition at line 206 of file Packet.h.

Packet ( const Packet other)
inline

Initializes as a copy of the other instance.

Definition at line 213 of file Packet.h.

~Packet ( )
inline

Does actually nothing.

Definition at line 220 of file Packet.h.

Member Function Documentation

const void* data ( ) const
inline

Packet bytes.

Definition at line 230 of file Packet.h.

BinaryMessages messages ( ) const
inline

Returns collection of messages stored by instance.

Definition at line 260 of file Packet.h.

operator bool ( ) const
inline

Indicates whether the given instance points to a valid packet.

Definition at line 224 of file Packet.h.

Packet& operator= ( const Packet other)
inline

Re-initializes the instance as the copy of the other one.

Definition at line 298 of file Packet.h.

void reset ( )
inline

Resets the instance to the null state.

Definition at line 268 of file Packet.h.

void reset ( const void *  data,
PacketSize  size 
)
inline

Re-initializes the instance to refer to the other content.

Definition at line 276 of file Packet.h.

void reset ( const void *  data,
PacketSize  size,
const NoVerify  
)
inline

Re-initializes the instance to refer to the other content.

Definition at line 289 of file Packet.h.

const Timestamp& sendingTime ( ) const
inline

Packet sending time.

Definition at line 252 of file Packet.h.

SequenceNumber seqNumber ( ) const
inline

Packet sequence number.

Definition at line 244 of file Packet.h.

PacketSize size ( ) const
inline

Packet size.

Definition at line 238 of file Packet.h.


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