Interface AlarmAggregator
public interface AlarmAggregator
-
Method Summary
Modifier and TypeMethodDescriptionvoidsubscribe(QualifiedPath path, Consumer<AlarmStateSummary> subscriber) All nested children alarms under the argument path will have their AlarmStateSummaries aggregated and subscribers will be notified of summary changes.voidunsubscribe(QualifiedPath path, Consumer<AlarmStateSummary> subscriber) Provides the ability to unsubscribe to a given qualified path and/or consumer
-
Method Details
-
subscribe
All nested children alarms under the argument path will have their AlarmStateSummaries aggregated and subscribers will be notified of summary changes.- Parameters:
path- The QualifiedPath whose AlarmStateSummary is being subscribed tosubscriber- The subscriber to be notified when the AlarmStateSummary of the subscribed path is updated. Multiple subscribers may exist for a single QualifiedPath.
-
unsubscribe
Provides the ability to unsubscribe to a given qualified path and/or consumer- Parameters:
path- The QualifiedPath which should be unsubscribed fromsubscriber- The subscriber which is unsubscribing. Multiple subscribers may exist for a single QualifiedPath.
-