|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.ui.Callback<T>
public abstract class Callback<T>
A way to call functions in JavaScript that return data using a reverse ajax proxy.
| Constructor Summary | |
|---|---|
Callback()
Create a Callback from a DWR thread, i.e. |
|
Callback(java.util.Collection<ScriptSession> sessionList)
Used when you need to specify a group of browsers that will be providing the responses. |
|
Callback(ScriptSession session)
Used when you need to specify the browser that will be providing the response |
|
| Method Summary | |
|---|---|
abstract void |
dataReturned(T data)
A browser has completed some remote call as has data for you |
java.util.Collection<ScriptSession> |
getScriptSessions()
Accessor for the ScriptSessions that will reply to the question. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Callback()
WebContextFactory.get() =! null
public Callback(ScriptSession session)
session - The browser to answer the questionpublic Callback(java.util.Collection<ScriptSession> sessionList)
sessionList - The browsers to answer the question| Method Detail |
|---|
public abstract void dataReturned(T data)
data - The data returned by the browserpublic java.util.Collection<ScriptSession> getScriptSessions()
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||