01: package org.objectweb.celtix;
02:
03: import java.util.*;
04:
05: /**
06: * Should be implemented by an object that wants to receive bus events.
07: */
08: public interface BusEventListener extends EventListener {
09: /**
10: * Invoked when a bus event occurs.
11: * The implementation of this method should return as soon as possible,
12: * to avoid blocking its event processor.
13: * @param e The <code>BusEvent</code> to be processed.
14: * @throws BusException If there is an error processing event.
15: */
16: void processEvent(BusEvent e) throws BusException;
17: }
|