#include <OnixS/CME/ConflatedUDP/FeedEngineThreads.h>
Public Member Functions | |
virtual void | onFeedEngineThreadBegin (const FeedEngineThreads &) |
virtual void | onFeedEngineThreadEnd (const FeedEngineThreads &) |
virtual bool | onFeedEngineThreadIdle (const FeedEngineThreads &) |
virtual void | onFeedEngineThreadIssue (const FeedEngineThreads &, const Char *) |
Listener for thread-related events.
Members of this classes are invoked to reflect various life-time events of threads spawned and used by feed engines while processing market data.
Definition at line 40 of file FeedEngineThreads.h.
|
inlinevirtual |
Invoked by a feed engine when a new processing thread is spawned.
Definition at line 52 of file FeedEngineThreads.h.
|
inlinevirtual |
Invoked by a feed engine when a processing thread is about to end.
Definition at line 66 of file FeedEngineThreads.h.
|
inlinevirtual |
Invoked when a thread reaches the idle state.
Invocation of the given member depends on the returned value of a particular implementation of the NetFeedEngine::process member.
The returned value indicates whether the given event was handled. The FeedEngineThreads makes a decision whether the processing is to be suspended depending on the returned value.
Definition at line 85 of file FeedEngineThreads.h.
|
inlinevirtual |
Invoked if working thread experiences an issue while processing its tasks. Once invoked, working thread continues performing its tasks.
Definition at line 98 of file FeedEngineThreads.h.