Interface org.as2lib.env.event.distributor.ConsumableEventDistributorControl

org.as2lib.core.BasicInterface
   +--org.as2lib.env.event.EventListenerSource
      +--org.as2lib.env.event.distributor.EventDistributorControl
         +--org.as2lib.env.event.distributor.ConsumableEventDistributorControl

Description

ConsumableEventDistributorControl marks the EventDistributorControl interface as consumable.

A distributor that implements this interface allows for consumable events. This means that the event distribution is stopped as soon as an event is consumed.

An event is consumed if a listener's event method returns true. If it returns nothing, null or undefined or false the event will further be distributed.

Method Index

Inherited from EventDistributorControl

getDistributor(), getType()

Inherited from EventListenerSource

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

Inherited from BasicInterface

toString()