OnixS ICE iMpact Multicast Feed Handler for C++  3.13.0.0
Public Member Functions | List of all members
FeedListener Class Referenceabstract

Defines the interface through which the Handler notifies subscribers about feed events. More...

Public Member Functions

virtual void onFeedStarted (FeedId feedId, const MarketIds &ids)=0
 Implement this member to get notifications about starting of new feeds. More...
 
virtual void onFeedStopped (FeedId feedId)=0
 Implement this member to get notifications about finishing of feeds. More...
 
virtual void onFeedError (FeedId feedId, ErrorCode code, const std::string &description)=0
 Implement this member to get notifications about feed errors. More...
 
virtual void onMulticastMessageBlockBegin (FeedId feedId, const MessageInfo &msgInfo)=0
 Implement this member to get notifications about multicast message block start. More...
 
virtual void onMulticastMessageBlockEnd (FeedId feedId, const MarketIds &marketIds)=0
 Implement this member to get notifications about multicast message block end. More...
 
virtual void onSessionNumberChange (FeedId feedId, short oldSessionNumber, short newSessionNumber)=0
 Implement this member to get notifications about session number change. More...
 

Detailed Description

Defines the interface through which the Handler notifies subscribers about feed events.

Member Function Documentation

virtual void onFeedError ( FeedId  feedId,
ErrorCode  code,
const std::string &  description 
)
pure virtual

Implement this member to get notifications about feed errors.

Parameters
feedIdFeed ID.
codeError code.
descriptionError description.
virtual void onFeedStarted ( FeedId  feedId,
const MarketIds &  ids 
)
pure virtual

Implement this member to get notifications about starting of new feeds.

Parameters
feedIdFeed ID.
idsMarket IDs.
virtual void onFeedStopped ( FeedId  feedId)
pure virtual

Implement this member to get notifications about finishing of feeds.

Parameters
feedIdFeed ID.
virtual void onMulticastMessageBlockBegin ( FeedId  feedId,
const MessageInfo &  msgInfo 
)
pure virtual

Implement this member to get notifications about multicast message block start.

Parameters
feedIdFeed ID.
msgInfoinformation about multicast message block.
virtual void onMulticastMessageBlockEnd ( FeedId  feedId,
const MarketIds &  marketIds 
)
pure virtual

Implement this member to get notifications about multicast message block end.

Parameters
feedIdFeed ID.
marketIdsupdated market IDs.
virtual void onSessionNumberChange ( FeedId  feedId,
short  oldSessionNumber,
short  newSessionNumber 
)
pure virtual

Implement this member to get notifications about session number change.

Parameters
feedIdFeed ID.
oldSessionNumberOld session number.
newSessionNumberNew session number.