Package i3.dragos.core.services.events

The EventManager service and associated classes.

See:
          Description

Interface Summary
EventFilter The EventFilter interface allows implementation of event filtering based on any desired criteria.
 

Class Summary
DataEventDetector Subclass of EventDetector that specializes in DataEvents and can be added as a DataListener.
DragosEvent Abstract super class for all events used in DRAGOS.
EventDetector A simple 2-state automaton that waits for a specified event.
EventManager The EventManager is responsible for distributing events to the registered event listeners.
EventTracker A more advanced and flexible version of EventDetector.
 

Enum Summary
EventCouplingMode The constants in this class describe the different coupling modes between the occurence of an event, a transaction and the notification of the event listener.
 

Package i3.dragos.core.services.events Description

The EventManager service and associated classes.

Most changes in the DRAGOS system and graph data are advertised using events. The EventManager is responsible for distributing these events to the registered event listeners. It is transacation-aware and implements event queueing, so listeners can precisely specify when in the life cycle of a transaction they want to receive their events.

One of the most important clients of the EventManager is the RuleEngine, which lives in the i3.dragos.core.services.rules package. You might want to consider making use of its advanced facilities instead of writing an event listener yourself.

See the "Guide to Events and Rules" for more information,



Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.