Provides classes and interfaces for asynchronous communication.
The event package is designed around three interfaces:
- The EventListenerInterface defining callback mechanism for a listener.
- The EventProducerInterface defining registration capabilities.
- The EventInterface defining the events which are sent by a producer and received by a listener.
In this package, two aspects are of crucial importance. Operations defined in the interfaces throw a
RemoteException
. This makes the interfaces suitable for distributed deployment. The second aspect is concurrency. The classes
providing a reference implementation of these interfaces are designed for multi-threaded deployment.