@ThreadSafe public class SbcEventQueue extends Object
Constructor and Description |
---|
SbcEventQueue()
Create the SbcEventQueue.
|
Modifier and Type | Method and Description |
---|---|
void |
enqueue(SbcEvent event)
Enqueue an event for processing on the EventQueue thread.
|
void |
shutdownQueue()
Synchronously shutdown the SBC event queue.
|
public SbcEventQueue()
public void enqueue(SbcEvent event)
event
- SbcEvent to execute in the context of the EventQueue thread.IllegalStateException
- if the event queue has been shutdown.public void shutdownQueue() throws InterruptedException
InterruptedException