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, validate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
toString
protected AbstractEventQueue(ALSBDebugger debugger)
protected abstract E createEvent(Packet packet) throws java.lang.Exception
java.lang.Exception
public E remove() throws java.lang.InterruptedException
java.lang.InterruptedException
public E remove(long timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
public void newEvent(Packet packet)
newEvent
in interface IEventPacketListener
public void close()