org.directwebremoting.impl
Class ThreadWaitSleeper

java.lang.Object
  extended by org.directwebremoting.impl.BaseSleeper
      extended by org.directwebremoting.impl.ThreadWaitSleeper
All Implemented Interfaces:
java.io.Serializable, Sleeper

public class ThreadWaitSleeper
extends BaseSleeper

The simplest type of Sleeper that just uses Object.wait() and Object.notify() to block a thread.

Author:
Joe Walker [joe at getahead dot ltd dot uk], Mike Wilson
See Also:
Serialized Form

Constructor Summary
ThreadWaitSleeper(javax.servlet.http.HttpServletResponse response, RealScriptSession scriptSession, ScriptConduit conduit)
           
 
Method Summary
 
Methods inherited from class org.directwebremoting.impl.BaseSleeper
enterSleep, setConverterManager, setJsonOutput, wakeUpForData, wakeUpToClose
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadWaitSleeper

public ThreadWaitSleeper(javax.servlet.http.HttpServletResponse response,
                         RealScriptSession scriptSession,
                         ScriptConduit conduit)
                  throws java.io.IOException
Throws:
java.io.IOException

Copyright ยจ 2008