public interface HasSubscribers
| Modifier and Type | Method and Description |
|---|---|
Subscription |
subscribe(java.lang.String aggregation,
Subscriber subscriber)
Add a new subscription to notifications channel associated with the given aggregation.
|
Subscription subscribe(java.lang.String aggregation, Subscriber subscriber)
aggregation - The aggregation for the stream eventssubscriber - Declares the function to be called to handle new messages