| SPAOP
    | 
An interface defining a cyclic timer (to be used as a watchdog for connection timeouts) along with listener and factory interfaces. More...
#include <ConnectionTimer.h>

| Classes | |
| class | Factory | 
| An interface for a factory class that creates ConnectionTimers.  More... | |
| class | Listener | 
| A listener that must be notified by the timer on timeout.  More... | |
| Public Member Functions | |
| virtual | ~ConnectionTimer () | 
| Destructor.  More... | |
| virtual void | setListener (Listener *listener)=0 | 
| Sets the listener whose timeout() method must be called when the timer runs out.  More... | |
| virtual void | start ()=0 | 
| Starts the timer.  More... | |
| virtual void | stop ()=0 | 
| Stops the timer.  More... | |
An interface defining a cyclic timer (to be used as a watchdog for connection timeouts) along with listener and factory interfaces.
The actual timer implementation must be done in a derived class.
| 
 | inlinevirtual | 
Destructor.
| 
 | pure virtual | 
Sets the listener whose timeout() method must be called when the timer runs out.
| listener | The listener whose timeout() method must be called when the timer runs out. | 
Implemented in wonderjuce::JuceConnectionTimer.
| 
 | pure virtual | 
Starts the timer.
Once started, the timer must repeatedly call its listener's timeout() method after every timer interval. (A cyclic timer, not a one-shot timer.) In case a timer was stopped and restarted, the timer must act as if it was restarted (meaning the first call to timeout() will happen after a full timer interval has passed).
Implemented in wonderjuce::JuceConnectionTimer.
| 
 | pure virtual | 
Stops the timer.
Implemented in wonderjuce::JuceConnectionTimer.
 1.8.6
 1.8.6