Class org.as2lib.env.event.broadcaster.SimpleConsumableEventInfo

org.as2lib.core.BasicClass
   +--org.as2lib.env.event.broadcaster.SimpleConsumableEventInfo

Implemented Interfaces

ConsumableEventInfo

Description

SimpleConsumableEventInfo offers support for consuming events.

Method Index

new SimpleConsumableEventInfo()

consume(), getName(), isConsumed()

Inherited from BasicClass

toString()

Constructor Detail

SimpleConsumableEventInfo

public function SimpleConsumableEventInfo(eventName:String)

Constructs a SimpleConsumableEventInfo instance.

Parameters

eventNamethe name of the event

Method Detail

getName

public function getName(Void):String

Returns the name of the event.

Return

the name of the event

isConsumed

public function isConsumed(Void):Boolean

Returns whether the event is consumed.

Return

true if the event is consumed else false

Specified By

isConsumed() in org.as2lib.env.event.broadcaster.ConsumableEventInfo

consume

public function consume(Void):Void

Consumes the represented event.

Specified By

consume() in org.as2lib.env.event.broadcaster.ConsumableEventInfo