org.directwebremoting.extend
Interface RealScriptSession

RealScriptSession is the real interface that should be implemented in place
of ScriptSession. It includes methods required by the guts of DWR, that are
not needed by normal users.

Author:

Joe Walker [joe at getahead dot ltd dot uk]

Method Summary

void

addScriptConduit(ScriptConduit conduit)
While a Marshaller is processing a request it can register a
ScriptConduit with the ScriptSession to say - "pass scripts to me"

boolean

addScriptImmediately(ScriptBuffer script)
If this ScriptSession currently has a connected ScriptConduit
and this conduit accepts and claims to be able to publish the script
then publish and return true, otherwise return false.

addScriptImmediately

If this ScriptSession currently has a connected ScriptConduit
and this conduit accepts and claims to be able to publish the script
then publish and return true, otherwise return false.
Add a script to the list waiting for remote execution.
The version automatically wraps the string in a ClientScript object.