|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.DefaultTaskDispatcher
public class DefaultTaskDispatcher
Default single node implementation of TaskDispatcher
| Constructor Summary | |
|---|---|
DefaultTaskDispatcher()
|
|
| Method Summary | |
|---|---|
void |
dispatchTask(ScriptSessionFilter filter,
java.lang.Runnable task)
Take a runnable action and run it against every ScriptSession
that matches a specified filter. |
java.util.Collection<ScriptSession> |
getTargetSessions()
This method discovers the sessions that are currently being targeted by browser updates. |
void |
setScriptSessionManager(ScriptSessionManager scriptSessionManager)
Connection to the DwrServlet that we are attached to |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTaskDispatcher()
| Method Detail |
|---|
public void dispatchTask(ScriptSessionFilter filter,
java.lang.Runnable task)
TaskDispatcherScriptSession
that matches a specified filter.
dispatchTask in interface TaskDispatcherpublic java.util.Collection<ScriptSession> getTargetSessions()
TaskDispatcherIt will generally only be useful to authors of reverse ajax UI proxy APIs. Using it directly may cause scaling problems
getTargetSessions in interface TaskDispatcherpublic void setScriptSessionManager(ScriptSessionManager scriptSessionManager)
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||