OnixS C++ CME Market Data Handler  2.56.0.0
Public Member Functions | List of all members
ThreadListener Class Referenceabstract

Listener for thread-related events. More...

Public Member Functions

virtual void onThreadBegin (const ChannelId &channel)=0
 Member is invoked by the Handler when new thread is spawned. More...
 
virtual void onThreadEnd (const ChannelId &channel)=0
 Member is invoked by the Handler when new thread is about to end. More...
 

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 the Handler while processing market data.

Member Function Documentation

virtual void onThreadBegin ( const ChannelId channel)
pure virtual

Member is invoked by the Handler when new thread is spawned.

Note
Invocation is done within newly started thread.
virtual void onThreadEnd ( const ChannelId channel)
pure virtual

Member is invoked by the Handler when new thread is about to end.

Note
Invocation is done within thread that is about to end.