CarobNS::ControllerStateChangedCallback Class Reference

Provides the two methods that will be called when a controller is detected as failed (does not respond to pings anymore) or as back alive (responds to pings again after silence). More...

#include <ControllerStateChangedCallback.hpp>

Inheritance diagram for CarobNS::ControllerStateChangedCallback:

CarobNS::SocketKillerCallback List of all members.

Public Member Functions

virtual void onControllerDown (const ControllerInfo &ctrl)=0
 What to do when a controller stops responding to pings?
Warning: execution time is critical here, if the method's implementation is too slow, thread it!
virtual void onControllerUp (const ControllerInfo &ctrl)=0
 What to do when a controller responds again to pings after having been detected as failed
Warning: execution time is critical here, if the method's implementation is too slow, thread it!
virtual ~ControllerStateChangedCallback ()
 Mandatory destructor.

Detailed Description

Provides the two methods that will be called when a controller is detected as failed (does not respond to pings anymore) or as back alive (responds to pings again after silence).

Note that the processing time of these two methods implementation is critical: if needed, thread them!


The documentation for this class was generated from the following file:
Generated on Fri Mar 9 17:40:20 2007 for Carob by  doxygen 1.4.7