public class EventQueue extends Object
The events are some integers. The format of this integer is producer / consumer dependent.
The device holds only one queue. This queue is known and used by the Front Panel plugin and by the MicroEJ library 'MicroUI'.
| Constructor and Description | 
|---|
| EventQueue()Creates a new event queue. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | enqueudEvent(int event)Adds an event in the queue of events. | 
| void | enqueudEvents(int[] events)Adds the events in the queue of events, respecting the array order. | 
| int | getEvent()Reads an event in the queue of events. | 
public void enqueudEvent(int event)
event - the event to add.public void enqueudEvents(int[] events)
events - the events to add.public int getEvent()
             throws InterruptedException
InterruptedException - if any thread interrupted the current thread before or while the current thread was waiting for a
             notification.