|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.squawk.debugger.EventNotifier
public final class EventNotifier
An EventNotifier
is used to synchronize communication between
a thread producing a JDWP event and consumer of such events. It also
encapsulates the details of the event as well as the JDWP identifier
of the thread in which the event occurred.
Nested Class Summary | |
---|---|
static interface |
EventNotifier.Consumer
An EventConsumer consumes events delivered via an EventNotifier. |
Constructor Summary | |
---|---|
EventNotifier()
|
Method Summary | |
---|---|
void |
consumeEvent(EventNotifier.Consumer consumer)
Consumes an event produced by a producer. |
void |
produceEvent(Debugger.Event evt,
EventNotifier.Consumer consumer)
Called by an event producer to notify a waiting consumer of an event. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventNotifier()
Method Detail |
---|
public void produceEvent(Debugger.Event evt, EventNotifier.Consumer consumer)
event
- the event being reportedconsumer
- the consumer of the eventpublic void consumeEvent(EventNotifier.Consumer consumer)
consumer
- the object that will consume the event
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |