|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.ScriptConduit
org.directwebremoting.dwrp.NotifyOnlyScriptConduit
public class NotifyOnlyScriptConduit
Implementation of ScriptConduit that simply calls notifyAll()
if a script is added.
No actual script adding is done here.
Useful in conjunction with a streamWait()
| Field Summary |
|---|
| Fields inherited from class org.directwebremoting.extend.ScriptConduit |
|---|
RANK_FAST, RANK_PROCEDURAL, RANK_SLOW |
| Constructor Summary | |
|---|---|
NotifyOnlyScriptConduit(java.lang.Object lock)
|
|
| Method Summary | |
|---|---|
boolean |
addScript(ScriptBuffer script)
Add a script to the list bound for remote execution. |
| Methods inherited from class org.directwebremoting.extend.ScriptConduit |
|---|
compareTo, getRank, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NotifyOnlyScriptConduit(java.lang.Object lock)
lock - Object to wait and notifyAll with| Method Detail |
|---|
public boolean addScript(ScriptBuffer script)
ScriptConduitIt is not an error to refuse to handle the script and return false, it
just indicates that this ScriptConduit did not accept the script.
If the ScriptConduit can no longer function then it should throw an
exception and it will be asumed to be no longer useful.
If you want to implement this method then you will probably be doing
something like calling ServletOutputStream.print(String) and
passing in the results of calling ScriptBufferUtil.createOutput().
addScript in class ScriptConduitscript - The script to execute
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||