OnixS C++ CME Market Data Handler  5.4.0
API documentation
MessageArgs< MessageType > Class Template Reference

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

Public Types

typedef MessageType Message
 

Public Member Functions

 MessageArgs (const NetPacket &packet, const Message &message)
 
const NetPacketpacket () const
 
const Messagemessage () const
 

Detailed Description

template<class MessageType>
class OnixS::CME::MDH::MessageArgs< MessageType >

Collection of market data supplied via message processing callbacks.

Definition at line 38 of file MarketDataListener.h.

Member Typedef Documentation

typedef MessageType Message

Type of message whose instance is referenced by given arguments.

Definition at line 43 of file MarketDataListener.h.

Constructor & Destructor Documentation

MessageArgs ( const NetPacket packet,
const Message message 
)
inline

Initializes instance with given message instance and packet containing that message.

Definition at line 47 of file MarketDataListener.h.

Member Function Documentation

const Message& message ( ) const
inline

Instance of message being processed.

Definition at line 62 of file MarketDataListener.h.

const NetPacket& packet ( ) const
inline

Instance of packet containing the message.

Definition at line 56 of file MarketDataListener.h.


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