|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.indi.reactor.BasicQueueHandler
public class BasicQueueHandler
Simple implementation of the QueueHandeler interface
Constructor Summary | |
---|---|
BasicQueueHandler(java.util.Queue<java.lang.Object> queue)
Class constructor |
Method Summary | |
---|---|
java.util.Queue<java.lang.Object> |
getQueue()
|
void |
onRead(java.lang.Object input)
Called by the reactor whenever an element is found in the queue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicQueueHandler(java.util.Queue<java.lang.Object> queue)
queue
- The queue containing the elements to be readMethod Detail |
---|
public java.util.Queue<java.lang.Object> getQueue()
getQueue
in interface QueueHandler
QueueHandler.getQueue()
public void onRead(java.lang.Object input)
QueueHandler
onRead
in interface QueueHandler
QueueHandler.onRead(java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |