OnixS Eurex ETI Handler C++ library  9.22.0
API documentation
WarningListener Class Referenceabstract

#include <OnixS/Eurex/Trading/WarningListener.h>

Public Member Functions

virtual void onWarning (const std::string &description)=0
 
virtual void onWarning (WarningCode::Enum code, const std::string &description)
 

Protected Member Functions

virtual ~WarningListener ()
 

Detailed Description

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

Definition at line 49 of file WarningListener.h.

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.

Definition at line 72 of file WarningListener.h.

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.
Note
Deprecated, use onWarning(WarningCode::Enum, const std::string&) instead.
virtual void onWarning ( WarningCode::Enum  code,
const std::string &  description 
)
inlinevirtual

Implement this member to get notified about warnings.

Parameters
codeidentifies warning occurred while processing messages.
descriptionsupplies notes on occurred error.

Definition at line 60 of file WarningListener.h.


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