RoundRobinEventHandler
provides an implementation of an EventHandler
which supports the notification of events using round-robin semantic. This event handler will send notification of an event to a valid remote event listener (one that has an active lease) is the collection of event registrants. For each subsequent notification the next listener in the list will be notified. If remote event listeners are removed from the collection of event registrants and the notification ordinal references the removed registrant, then the notification ordinal will reference the next registrant in the collection.
The sequence number for events is incremented after each subsequent fire invocation. @author Dennis Reedy
|
|