OnixS C++ CME MDP Premium Market Data Handler  5.8.9
API Documentation
ChannelFeedListener Struct Reference

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

Public Member Functions

virtual void onFeedConnected (Handler &, const NetFeed &)
 
virtual void onFeedDisconnected (Handler &, const NetFeed &)
 
virtual void onFeedPacket (Handler &, const PacketArgs &)
 

Detailed Description

Definition at line 32 of file ChannelFeedListener.h.

Member Function Documentation

virtual void onFeedConnected ( Handler ,
const NetFeed  
)
inlinevirtual

Is called when the handler starts listening to market data from the feed.

Definition at line 35 of file ChannelFeedListener.h.

virtual void onFeedDisconnected ( Handler ,
const NetFeed  
)
inlinevirtual

Is called when the handler finishes listening to market data from the feed.

Definition at line 38 of file ChannelFeedListener.h.

virtual void onFeedPacket ( Handler ,
const PacketArgs  
)
inlinevirtual

Is called when when the feed receives a network packet.

Note
This method is invoked for each packet the feed receives, including duplicated and out-of-order ones. Actual processing of received data may be done later or not happen at all if data is outdated or duplicated. Therefore, the packet passed via this method may not appear through other listeners like MarketDataListener or may appear later.

Definition at line 46 of file ChannelFeedListener.h.


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