Defines the interface through which the Handler notifies subscribers about feed events.
More...
|
| 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...
|
| |
Defines the interface through which the Handler notifies subscribers about feed events.
| virtual void onFeedError |
( |
FeedId |
feedId, |
|
|
ErrorCode |
code, |
|
|
const std::string & |
description |
|
) |
| |
|
pure virtual |
Implement this member to get notifications about feed errors.
- Parameters
-
| feedId | Feed ID. |
| code | Error code. |
| description | Error description. |
| virtual void onFeedStarted |
( |
FeedId |
feedId, |
|
|
const MarketIds & |
ids |
|
) |
| |
|
pure virtual |
Implement this member to get notifications about starting of new feeds.
- Parameters
-
| feedId | Feed ID. |
| ids | Market IDs. |
| virtual void onFeedStopped |
( |
FeedId |
feedId | ) |
|
|
pure virtual |
Implement this member to get notifications about finishing of feeds.
- Parameters
-
| virtual void onMulticastMessageBlockBegin |
( |
FeedId |
feedId, |
|
|
const MessageInfo & |
msgInfo |
|
) |
| |
|
pure virtual |
Implement this member to get notifications about multicast message block start.
- Parameters
-
| feedId | Feed ID. |
| msgInfo | information 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
-
| feedId | Feed ID. |
| marketIds | updated market IDs. |
| virtual void onSessionNumberChange |
( |
FeedId |
feedId, |
|
|
short |
oldSessionNumber, |
|
|
short |
newSessionNumber |
|
) |
| |
|
pure virtual |
Implement this member to get notifications about session number change.
- Parameters
-
| feedId | Feed ID. |
| oldSessionNumber | Old session number. |
| newSessionNumber | New session number. |