|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cindy.session.dispatcher.DirectDispatcher
public class DirectDispatcher
Direct dispatcher implementation, do not support block operation such as Future.complete.
Constructor Summary | |
---|---|
DirectDispatcher()
|
Method Summary | |
---|---|
void |
block()
The dispatch thread may be blocked. |
void |
dispatch(Session session,
java.lang.Runnable event)
Dispatch event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectDispatcher()
Method Detail |
---|
public void block()
Dispatcher
Future
implementation will
invoke this method to block current dispatch thread.
block
in interface Dispatcher
public void dispatch(Session session, java.lang.Runnable event)
Dispatcher
dispatch
in interface Dispatcher
session
- sessionevent
- event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |