public interface EventLinker
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(java.lang.Object producer,
java.lang.String eventSetName,
java.lang.Object consumer,
Location location)
Adds the consumer as a listener of events published by the producer.
|
void addEventListener(java.lang.Object producer, java.lang.String eventSetName, java.lang.Object consumer, Location location)
producer - the object which will be publishing the events.eventSetName - the name of an event set; the consumer will only be registered for that set of
events.consumer - the object which will be added as a listener.location - used when reporting errors, may be null