Classes, interfaces and traits

DispatcherAwareTrait

Defines the trait for a Dispatcher Aware Class.

« More »

DispatcherAwareInterface

Interface to be implemented by classes depending on a dispatcher.

« More »

DispatcherInterface

Interface for event dispatchers.

« More »

EventInterface

Interface for events.

An event has a name and its propagation can be stopped (if the implementation supports it).
« More »

AbstractEvent

Implementation of EventInterface.

« More »

DelegatingDispatcher

A dispatcher delegating its methods to an other dispatcher.

« More »

Dispatcher

Implementation of a DispatcherInterface supporting prioritized listeners.

« More »

Event

Default Event class.

« More »

EventImmutable

Implementation of an immutable Event.

An immutable event cannot be modified after instanciation : - its propagation cannot be stopped - its arguments cannot be modified You may want to use this event when you want to ensure that the listeners won't manipulate it.
« More »

ListenersPriorityQueue

A class containing an inner listeners priority queue that can be iterated multiple times.

One instance of ListenersPriorityQueue is used per Event in the Dispatcher.
« More »

Priority

An enumeration of priorities for event listeners, that you are encouraged to use when adding them in the Dispatcher.

« More »