|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.dwrp.BasicAlarm
public class BasicAlarm
An Alarm that goes off if something is badly broken.
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(org.directwebremoting.dwrp.Sleeper sleeper)
Alarms need something to do when they go off. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicAlarm()
Method Detail |
---|
public void raiseAlarm()
public void cancel()
Sleeper.wakeUp()
.
See the note about late calls above.
public void setAlarmAction(org.directwebremoting.dwrp.Sleeper sleeper)
Sleeper.wakeUp()
.
sleeper
- The action to awake when the alarm goes off
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |