|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lwes.listener.ThreadedDequeuer
org.lwes.listener.DatagramDequeuer
public class DatagramDequeuer
| Field Summary |
|---|
| Fields inherited from class org.lwes.listener.ThreadedDequeuer |
|---|
queue |
| Constructor Summary | |
|---|---|
DatagramDequeuer()
|
|
| Method Summary | |
|---|---|
protected void |
handleElement(DatagramQueueElement element)
|
protected boolean |
hasPending()
Determines whether the collection of pending tasks has any elements. |
void |
initialize()
Default initialize() method. |
void |
run()
Default run loop. |
void |
shutdown()
Default shutdown() method. |
| Methods inherited from class org.lwes.listener.ThreadedDequeuer |
|---|
addHandler, addHandler, dispatchEvent, getHandler, getIdleProcessor, getMaxThreads, getQueue, makeAvailable, removeHandler, removeHandler, setMaxThreads, setQueue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatagramDequeuer()
| Method Detail |
|---|
public void initialize()
throws java.io.IOException
ThreadedDequeuer
initialize in class ThreadedDequeuerjava.io.IOExceptionpublic void shutdown()
ThreadedDequeuer
shutdown in class ThreadedDequeuerpublic void run()
ThreadedDequeuer
run in interface java.lang.Runnablerun in class ThreadedDequeuerprotected final boolean hasPending()
addTask() the state will change to true. Do not use this
function to determine when there cannot be any more tasks.
protected void handleElement(DatagramQueueElement element)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||