Public Member Functions

Globex::MDApplicationListener Class Reference

Represents CME Globex application listener. More...

#include <B2BITS_MDApplication.h>

Inheritance diagram for Globex::MDApplicationListener:
Collaboration diagram for Globex::MDApplicationListener:

List of all members.

Public Member Functions

virtual void onCompleteMessageProcessing ()
 Called after any message is processed.
virtual void onConnectToFeed (std::string const &)
 Called after reader was connected to feed.
virtual void onDisconnectFromFeed (std::string const &)
 Called after reader was disconnected from feed.
virtual void onError (std::string const &error)=0
 Called on errors in MDApplication.
virtual void process (Engine::FIXMessage const &msg, std::string const &)
 Called on non X, d and W messages for enable calls on X messages, use MDApplication::startListeningXMessagesByApplication.
virtual ~MDApplicationListener ()

Detailed Description

Represents CME Globex application listener.

Note:
Objects of this class do not put to the std::auto_ptr or other smart pointers (except specialized, example Utils::RefCounterPtr)

Definition at line 191 of file B2BITS_MDApplication.h.


Constructor & Destructor Documentation

virtual Globex::MDApplicationListener::~MDApplicationListener (  ) [inline, virtual]

Definition at line 195 of file B2BITS_MDApplication.h.


Member Function Documentation

virtual void Globex::MDApplicationListener::onCompleteMessageProcessing (  ) [inline, virtual]

Called after any message is processed.

Definition at line 231 of file B2BITS_MDApplication.h.

virtual void Globex::MDApplicationListener::onConnectToFeed ( std::string const &   ) [inline, virtual]

Called after reader was connected to feed.

Note:
This function can be called from different thread, so used should make it thread-safe in implementation
Parameters:
feedId- feed ID (channel_id%:connection_id%)

Definition at line 217 of file B2BITS_MDApplication.h.

virtual void Globex::MDApplicationListener::onDisconnectFromFeed ( std::string const &   ) [inline, virtual]

Called after reader was disconnected from feed.

Note:
This function can be called from different thread, so used should make it thread-safe in implementation
Parameters:
feedId- feed ID (channel_id%:connection_id%)

Definition at line 225 of file B2BITS_MDApplication.h.

virtual void Globex::MDApplicationListener::onError ( std::string const &  error ) [pure virtual]

Called on errors in MDApplication.

Note:
This function can be called from different thread, so used should make it thread-safe in implementation
Parameters:
errorerror message
virtual void Globex::MDApplicationListener::process ( Engine::FIXMessage const &  msg,
std::string const &   
) [inline, virtual]

Called on non X, d and W messages for enable calls on X messages, use MDApplication::startListeningXMessagesByApplication.

Note:
This function can be called from different thread, so used should make it thread-safe in implementation
Parameters:
msgmessage

Definition at line 209 of file B2BITS_MDApplication.h.