Interface IMonitoringService
public interface IMonitoringService
-
Method Summary
Modifier and TypeMethodDescription<T extends IMonitoringEvent>
voidpost
(T event) all subscribers of this event type will be triggered<T extends IMonitoringSubscriber>
voidregister
(T subscriber) register a subscriber ( a.k.a.<T extends IMonitoringSubscriber>
voidunregister
(T subscriber) unregister a subscriber ( a.k.a.
-
Method Details
-
register
register a subscriber ( a.k.a. event handler ) in event bus- Parameters:
subscriber
- IMonitoringSubscriber event handler
-
unregister
unregister a subscriber ( a.k.a. event handler ) from event bus- Parameters:
subscriber
- IMonitoringSubscriber event handler
-
post
all subscribers of this event type will be triggered- Parameters:
event
- IMonitoringEvent event object
-