KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > BusEventListener


1 package org.objectweb.celtix;
2
3 import java.util.*;
4
5
6 /**
7  * Should be implemented by an object that wants to receive bus events.
8  */

9 public interface BusEventListener extends EventListener {
10     /**
11      * Invoked when a bus event occurs.
12      * The implementation of this method should return as soon as possible,
13      * to avoid blocking its event processor.
14      * @param e The <code>BusEvent</code> to be processed.
15      * @throws BusException If there is an error processing event.
16      */

17     void processEvent(BusEvent e) throws BusException;
18 }
19
Popular Tags