|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.BasicAlarm
public class BasicAlarm
An Alarm that goes off 'manually', that is to say by the calling of
raiseAlarm().
| Constructor Summary | |
|---|---|
BasicAlarm()
|
|
| Method Summary | |
|---|---|
void |
cancel()
Prevent further calls to Sleeper.wakeUp(). |
void |
raiseAlarm()
It's all gone wrong - inform the Sleeper |
void |
setAlarmAction(Sleeper sleeper)
Alarms need something to do when they go off. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicAlarm()
| Method Detail |
|---|
public void raiseAlarm()
public void cancel()
AlarmSleeper.wakeUp().
See the note about late calls above.
cancel in interface Alarmpublic void setAlarmAction(Sleeper sleeper)
AlarmSleeper.wakeUp().
setAlarmAction in interface Alarmsleeper - The action to awake when the alarm goes off
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||