OnixS C++ CME MDP Conflated UDP Handler  1.0.2
API documentation
ChannelFeedListener Struct Reference

#include <OnixS/CME/ConflatedUDP/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

A listener for the feed-related events in bounds of a single Handler instance.

Members of the given listener are invoked by the Handler when it manipulates feeds to reflects various aspects of feed behavior.

Definition at line 43 of file ChannelFeedListener.h.

Member Function Documentation

virtual void onFeedConnected ( Handler ,
const NetFeed  
)
inlinevirtual

Invoked when Handler establishes connection to a feed identified by provided properties.

Definition at line 50 of file ChannelFeedListener.h.

virtual void onFeedDisconnected ( Handler ,
const NetFeed  
)
inlinevirtual

Invoked when Handler drops connection to a feed identified by provided properties.

Definition at line 60 of file ChannelFeedListener.h.

virtual void onFeedPacket ( Handler ,
const PacketArgs  
)
inlinevirtual

Invoked when packet is received on given feed.

Given member is invoked for all data received over the feed including duplicated and out of order one. Actual processing of received data may be done far later or not happen at all if data is outdated or duplicates already processed one. Therefore, packet passed through given member may not appear through other listeners like MarketDataListener.

Definition at line 77 of file ChannelFeedListener.h.


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