| |
|
| java.lang.Object org.directwebremoting.proxy.Callback
Callback | abstract public class Callback (Code) | | A way to call functions in JavaScript that return data using a reverse ajax
proxy.
author: Joe Walker [joe at getahead dot ltd dot uk] |
Callback | public Callback(ScriptSession session)(Code) | | Used when you need to specify the browser that will be providing the
response
Parameters: session - The browser to answer the question |
Callback | public Callback(Collection<ScriptSession> sessionList)(Code) | | Used when you need to specify a group of browsers that will be providing
the responses. The callback will be executed once per browser that
replies.
Parameters: sessionList - The browsers to answer the question |
dataReturned | abstract public void dataReturned(T data)(Code) | | A browser has completed some remote call as has data for you
Parameters: data - The data returned by the browser |
getScriptSessions | public Collection<ScriptSession> getScriptSessions()(Code) | | Accessor for the ScriptSessions that will reply to the question.
This method is generally for DWR internal use, but only because it's
unlikely to be useful to others.
An immutable list of browsers that may reply to the question. |
|
|
|