OnixS C++ CME Market Data Handler  5.4.0
API documentation
FeedEngineThreadListener Struct Reference

#include <OnixS/CME/MDH/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 *)

Detailed Description

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.

Member Function Documentation

virtual void onFeedEngineThreadBegin ( const FeedEngineThreads )

Invoked by a feed engine when a new processing thread is spawned.

Invocation is performed by the newly started thread thus making possible application of any thread-specific turn-up.

Definition at line 52 of file FeedEngineThreads.h.

virtual void onFeedEngineThreadEnd ( const FeedEngineThreads )

Invoked by a feed engine when a processing thread is about to end.

Invocation is performed by the thread thus making possible thread-specific cleanup.

Definition at line 66 of file FeedEngineThreads.h.

virtual bool onFeedEngineThreadIdle ( const FeedEngineThreads )

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.

virtual void onFeedEngineThreadIssue ( const FeedEngineThreads ,
const Char  

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.

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