OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
FeedEngineThreadListener Struct Reference

#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 *)
 

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 )
inlinevirtual

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

Note
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 )
inlinevirtual

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

Note
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 )
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.

virtual void onFeedEngineThreadIssue ( const FeedEngineThreads ,
const Char  
)
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.


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