public class EndpointListenerNotifier
extends java.lang.Object
EndpointEventListener's to be added and removed and allows to notify them of end-points.| Constructor and Description |
|---|
EndpointListenerNotifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(EndpointEventListener eepListener,
java.util.Set<Filter> filters,
java.util.Collection<EndpointDescription> endpoints)
Adds an
EndpointEventListener with a set of filters and a collection of endpoint descriptions |
void |
dispose()
Cleans up all resources
|
void |
remove(EndpointEventListener listener)
Removes an end-point listener
|
void |
sendEvent(EndpointEvent event)
Sends the given event to all available listeners
|
public void add(EndpointEventListener eepListener,
java.util.Set<Filter> filters,
java.util.Collection<EndpointDescription> endpoints)
EndpointEventListener with a set of filters and a collection of endpoint descriptionseepListener - the EndpointEventListenerfilters - all filtersendpoints - all end-point descriptionspublic void remove(EndpointEventListener listener)
listener - the listener to removepublic void sendEvent(EndpointEvent event)
event - the event to be sendpublic void dispose()
Data In Motion Consulting GmbH