Defines an interface through which the Handler notifies subscribers about warnings occurred while processing messages.
More...
|
virtual void | onWarning (const std::string &description)=0 |
| Implement this member to get notified about warnings. More...
|
|
Defines an interface through which the Handler notifies subscribers about warnings occurred while processing messages.
Class provides an interface for handling warnings in subscriptions.
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.
virtual void onWarning |
( |
const std::string & |
description | ) |
|
|
pure virtual |
Implement this member to get notified about warnings.
- Parameters
-
description | supplies notes on occurred warning. |