OnixS C++ CME Streamlined Market Data Handler
API documentation
NetPacket Class Reference

#include <Packet.h>

Collaboration diagram for NetPacket:

Public Member Functions

 NetPacket ()
 NetPacket (const void *data, size_t size)
 NetPacket (const NetPacket &other)
 ~NetPacket ()
const NetFeedsource () const
void source (const NetFeed &source)
const TimestampreceiveTime () const
void receiveTime (const Timestamp &receiveTime)
void reset ()
NetPacketoperator= (const NetPacket &other)
- Public Member Functions inherited from Packet
 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 373 of file Packet.h.

Constructor & Destructor Documentation

NetPacket ( )

Initializes as null packet.

Definition at line 381 of file Packet.h.

NetPacket ( const void *  data,
size_t  size 

Initializes with primary attributes.

Definition at line 387 of file Packet.h.

NetPacket ( const NetPacket other)

Initializes as a copy of the other instance.

Definition at line 395 of file Packet.h.

~NetPacket ( )

Does actually nothing.

Definition at line 409 of file Packet.h.

Member Function Documentation

NetPacket& operator= ( const NetPacket other)

Re-initializes as a copy of the other instance.

Definition at line 452 of file Packet.h.

const Timestamp& receiveTime ( ) const

Data reception time (if applicable).

Definition at line 430 of file Packet.h.

void receiveTime ( const Timestamp receiveTime)

Updates receive time attribute.

Definition at line 437 of file Packet.h.

void reset ( )

Resets the instances to the blank state.

Definition at line 444 of file Packet.h.

const NetFeed& source ( ) const

Identifies source of the packet.

Definition at line 414 of file Packet.h.

void source ( const NetFeed source)

Updates packet source attribute.

Definition at line 423 of file Packet.h.

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