#include <node_status_provider.hpp>
Public Member Functions | |
virtual void | updateNodeStatus ()=0 |
virtual | ~IAdHocNodeStatusUpdater () |
This optional interface can be implemented by the user in order to update the node status as necessary, immediately before the next NodeStatus message is emitted by NodeStatusProvider.
Definition at line 23 of file node_status_provider.hpp.
|
inlinevirtual |
Definition at line 39 of file node_status_provider.hpp.
|
pure virtual |
This method is invoked by the library from NodeStatusProvider from the library's thread immediately before the next NodeStatus message is transmitted. The application can implement this method to perform node status updates only as necessary. The application is expected to invoke the methods of NodeStatusProvider to update the status from this method. Note that this method is only invoked when publication is happening by the timer event. It will NOT be invoked if the following methods are used to trigger node status publication:
Implemented in AdHocNodeStatusUpdater.