Interface IMonitoringService


public interface IMonitoringService
  • Method Details

    • register

      <T extends IMonitoringSubscriber> void register(T subscriber)
      register a subscriber ( a.k.a. event handler ) in event bus
      Parameters:
      subscriber - IMonitoringSubscriber event handler
    • unregister

      <T extends IMonitoringSubscriber> void unregister(T subscriber)
      unregister a subscriber ( a.k.a. event handler ) from event bus
      Parameters:
      subscriber - IMonitoringSubscriber event handler
    • post

      <T extends IMonitoringEvent> void post(T event)
      all subscribers of this event type will be triggered
      Parameters:
      event - IMonitoringEvent event object