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... | |
Defines an interface through which the Handler notifies subscribers about warnings occurred while processing messages.
|
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.
|
pure virtual |
Implement this member to get notified about warnings.
description | supplies notes on occurred error. |