The
ClientEventPoll class is the registry for client-side event listeners on behalf of the {@link org.apache.jackrabbit.rmi.client.ClientObservationManager} class. Inaddition this class extends the
java.lang.Thread class able to be run in a separate thread to constantly poll the server-side observation manager for new events.
Notes:
- Only one instance of this class should be instantiated for each instance of a {@link org.apache.jackrabbit.rmi.remote.RemoteObservationManager} class.
EventListeners registered with this class must properly implement the Object.hashCode() and Object.equals() contracts for them to be handled correctly by this class.
@author Felix Meschberger
@see #run()