|
Servus
1.4.0
C++ network oriented utilities including a zeroconf implementation
|
A listener interface which can be implemented to listen on changes of a Servus instance. More...
#include <listener.h>
Collaboration diagram for servus::Listener:Public Member Functions | |
| virtual void | instanceAdded (const std::string &instance)=0 |
| Called after a new instance was added after being discovered. More... | |
| virtual void | instanceRemoved (const std::string &instance)=0 |
| Called after an instance was removed from the list of discovered instances. More... | |
A listener interface which can be implemented to listen on changes of a Servus instance.
Definition at line 32 of file listener.h.
|
pure virtual |
Called after a new instance was added after being discovered.
| instance | the name of the new instance |
|
pure virtual |
Called after an instance was removed from the list of discovered instances.
| instance | the name of the instance that was removed. |