net.clackrouter.router.core
Class Alerter

java.lang.Object
  extended by net.clackrouter.router.core.Alerter

public class Alerter
extends java.lang.Object

Simple "alarm clock" like class that gives an alert on regular intervals to any classes that registered to be notified.


Nested Class Summary
static interface Alerter.Alertable
          Simple interface for callback to an component that is being "alerted".
 class Alerter.TimerCallback
           
 
Constructor Summary
Alerter(int alert_time)
           
 
Method Summary
 void addAlerter(Alerter.Alertable a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Alerter

public Alerter(int alert_time)
Method Detail

addAlerter

public void addAlerter(Alerter.Alertable a)