|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.indi.reactor.BasicQueueHandler
org.indi.server.Dispatcher
public class Dispatcher
Dipatches the parsed indi messages from the client to the device drivers. The messages are received from the parsing thread via a queue.
| Constructor Summary | |
|---|---|
Dispatcher(java.util.Queue<java.lang.Object> queue,
IndiServer server)
class consturctor |
|
| Method Summary | |
|---|---|
void |
onRead(java.lang.Object o)
called by the reactor whenever a new element is in the queue waiting to be dispatched |
| Methods inherited from class org.indi.reactor.BasicQueueHandler |
|---|
getQueue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dispatcher(java.util.Queue<java.lang.Object> queue,
IndiServer server)
queue - a queue to receive the parsed messages from the parsing
threadserver - the indiserver knowing about the drivers to dispach the
received objects to.| Method Detail |
|---|
public void onRead(java.lang.Object o)
onRead in interface org.indi.reactor.QueueHandleronRead in class org.indi.reactor.BasicQueueHandlero - the object to be dispachted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||