|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
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. |
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,
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |