OnixS CBOE CMi2 Trading Handler for C++  1.1.3.0
Public Member Functions | Protected Member Functions | List of all members
WarningListener Class Referenceabstract

Defines an interface through which the Handler notifies subscribers about warnings occurred while processing messages. More...

Public Member Functions

virtual void onWarning (const std::string &description)=0
 Implement this member to get notified about warnings. More...
 

Protected Member Functions

virtual ~WarningListener ()
 Class provides an interface for handling trading system events. More...
 

Detailed Description

Defines an interface through which the Handler notifies subscribers about warnings occurred while processing messages.

Constructor & Destructor Documentation

virtual ~WarningListener ( )
inlineprotectedvirtual

Class provides an interface for handling trading system events.

It doesn't provide an interface for instance deletion. However, since C++ doesn't have pure interface concept, destructor will be generated anyway. We can only control proper use of it. For this reason we hide from public use and make it available for descendants.

Member Function Documentation

virtual void onWarning ( const std::string &  description)
pure virtual

Implement this member to get notified about warnings.

Parameters
descriptionsupplies notes on occurred error.