2010 FRC Java API


com.sun.squawk.debugger
Interface EventNotifier.Consumer

All Known Implementing Classes:
EventManager
Enclosing class:
EventNotifier

public static interface EventNotifier.Consumer

An EventConsumer consumes events delivered via an EventNotifier.


Method Summary
 void consumeEvent(Debugger.Event event)
          Consumes an event.
 boolean isDone()
          Determines if this consumer is still interested in consuming events.
 

Method Detail

consumeEvent

void consumeEvent(Debugger.Event event)
                  throws IOException
Consumes an event.

Parameters:
event - the event
Throws:
IOException - if an IO error occurs

isDone

boolean isDone()
Determines if this consumer is still interested in consuming events.

Returns:
trus if this consumer in no longer consuming events

2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.