|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.BasicAlarm
org.directwebremoting.impl.OutputAlarm
public class OutputAlarm
An Alarm that goes off whenever output happens on a ScriptSession.
| Constructor Summary | |
|---|---|
OutputAlarm(RealScriptSession scriptSession,
int maxWaitAfterWrite)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Prevent further calls to Sleeper.wakeUp(). |
void |
setAlarmAction(Sleeper sleeper)
Alarms need something to do when they go off. |
| Methods inherited from class org.directwebremoting.impl.BasicAlarm |
|---|
raiseAlarm |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputAlarm(RealScriptSession scriptSession,
int maxWaitAfterWrite)
scriptSession - The script session to monitormaxWaitAfterWrite - How long do we wait after output| Method Detail |
|---|
public void setAlarmAction(Sleeper sleeper)
AlarmSleeper.wakeUp().
setAlarmAction in interface AlarmsetAlarmAction in class BasicAlarmsleeper - The action to awake when the alarm goes offpublic void cancel()
AlarmSleeper.wakeUp().
See the note about late calls above.
cancel in interface Alarmcancel in class BasicAlarm
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||