|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.core.EventQueue
ariba.util.core.EventLoop
public class EventLoop
A simple event loop
Field Summary | |
---|---|
static java.lang.String |
ClassName
|
Constructor Summary | |
---|---|
EventLoop()
Create a new EventLoop using a new LinkedTimerQueue. |
|
EventLoop(TimerQueue queue)
Create a new EventLoop using the specified TimerQueue. |
Method Summary | |
---|---|
void |
run()
Runnable interface method implemented to process Events as they appear in the queue. |
void |
setExceptionEvent(EventExceptionListener e)
|
void |
stopRunning()
Stops the EventLoop once control returns from processing the current EventProcessor. |
Methods inherited from class ariba.util.core.EventQueue |
---|
addEvent, getNextEvent, getNextEventIfAny, queueLength |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ClassName
Constructor Detail |
---|
public EventLoop()
public EventLoop(TimerQueue queue)
queue
- The TimerQueue to use.Method Detail |
---|
public void setExceptionEvent(EventExceptionListener e)
public void run()
run
in interface java.lang.Runnable
public void stopRunning()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |