cgl.narada.protocol
Class EntityEventDispatcher
java.lang.Object
java.lang.Thread
cgl.narada.protocol.EntityEventDispatcher
- All Implemented Interfaces:
- Runnable
public class EntityEventDispatcher
- extends Thread
This is program is written to ensure a considerable degree of concurreny
in the delivery of events to brokers, and connected entities. Specifically,
we need to ensure that there is priority in the delivery of events to the
broker.
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
initialize
public void initialize(ClientConnectionHandler clientConnectionHandler)
getInstance
public static EntityEventDispatcher getInstance()
addDispatchUnit
public void addDispatchUnit(DispatchUnit dispatchUnit)
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
For comments and suggestions please send
e-mail to
The NaradaBrokering Project