OnixS C++ CME MDP Streamlined Market Data Handler  1.2.0
API Documentation
Packet Class Reference

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

Public Member Functions

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

Detailed Description

Definition at line 222 of file Packet.h.

Constructor & Destructor Documentation

Packet ( )
inline

Initializes blank instance.

Definition at line 235 of file Packet.h.

Packet ( const void *  data,
size_t  size 
)
inline

Initializes binary packet over given buffer.

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

Definition at line 245 of file Packet.h.

Packet ( const Packet other)
inline

Initializes as a copy of the other instance.

Definition at line 270 of file Packet.h.

~Packet ( )
inline

Does actually nothing.

Definition at line 278 of file Packet.h.

Member Function Documentation

const void* data ( ) const
inline

Packet bytes.

Definition at line 283 of file Packet.h.

BinaryMessages messages ( ) const
inline

Returns collection of messages stored by instance.

Definition at line 313 of file Packet.h.

Packet& operator= ( const Packet other)
inline

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

Definition at line 363 of file Packet.h.

void reset ( )
inline

Resets the instance to the null state.

Definition at line 325 of file Packet.h.

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

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

Definition at line 334 of file Packet.h.

const Timestamp& sendingTime ( ) const
inline

Packet sending time.

Definition at line 305 of file Packet.h.

SequenceNumber seqNumber ( ) const
inline

Packet sequence number.

Definition at line 297 of file Packet.h.

size_t size ( ) const
inline

Packet size.

Definition at line 291 of file Packet.h.


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