OnixS BME SENAF Handler C++ library 2.3.0
API documentation
Loading...
Searching...
No Matches
ErrorListener Class Referenceabstract

Public Member Functions

virtual void onError (const Error &error)=0

Protected Member Functions

virtual ~ErrorListener ()

Detailed Description

Definition at line 31 of file ErrorListener.h.

Constructor & Destructor Documentation

◆ ~ErrorListener()

virtual ~ErrorListener ( )
inlineprotectedvirtual

Definition at line 45 of file ErrorListener.h.

Member Function Documentation

◆ onError()

virtual void onError ( const Error & error)
pure virtual

Implement this member to get notified about errors in subscriptions.

Parameters
erroridentifies error occurred while processing multicast messages.
Note
Usually, Handler is capable to recover from errors by itself. That means, there's no need to restart entire subscription manually. Instead, Handler will perform all necessary recovering by itself.