public abstract class AbstractEventQueue<E> extends ALSBDebuggerObject implements IEventPacketListener
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEventQueue(ALSBDebugger debugger)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes this queue
|
protected abstract E |
createEvent(Packet packet)
creates an event for a packet
|
void |
newEvent(Packet packet)
notifies of a new event
|
E |
remove()
Waits forever for the next available event.
|
E |
remove(long timeout)
Waits a specified time for the next available event.
|
debugger, equals, hashCode, validateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoStringprotected AbstractEventQueue(ALSBDebugger debugger)
protected abstract E createEvent(Packet packet) throws java.lang.Exception
java.lang.Exceptionpublic E remove() throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic E remove(long timeout) throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void newEvent(Packet packet)
newEvent in interface IEventPacketListenerpublic void close()