Interface org.as2lib.env.event.broadcaster.ConsumableEventBroadcaster

org.as2lib.core.BasicInterface
   +--org.as2lib.env.event.EventListenerSource
      +--org.as2lib.env.event.broadcaster.EventBroadcaster
         +--org.as2lib.env.event.broadcaster.ConsumableEventBroadcaster

Description

ConsumableEventBroadcaster dispatches events to all listeners with the help of an EventInfo or ConsumableEventInfo until the event has been consumed.

The dispatching of the event will be stopped as soon as the event is consumed. The event can be consumed by calling the appropriate method on the ConsumableEventInfo instance passed to the dispatch method and from there to the appropriate event method on the listeners.

Method Index

Inherited from EventBroadcaster

dispatch()

Inherited from EventListenerSource

addAllListeners(), addListener(), getAllListeners(), hasListener(), removeAllListeners(), removeListener()

Inherited from BasicInterface

toString()