public abstract class SubscriptionEvent extends NodeEvent
Modifier | Constructor and Description |
---|---|
protected |
SubscriptionEvent(String nodeId)
Construct an event with no subscription id's.
|
protected |
SubscriptionEvent(String nodeId,
List<String> subscriptionIds)
Construct an event with multiple subscriptions.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getSubscriptions()
Get the subscriptions this event is associated with.
|
protected void |
setSubscriptions(List<String> subscriptionIds)
Set the list of subscription id's for this event.
|
protected SubscriptionEvent(String nodeId)
nodeId
- The id of the node the event came fromprotected SubscriptionEvent(String nodeId, List<String> subscriptionIds)
nodeId
- The id of the node the event came fromsubscriptionIds
- The list of subscription id'spublic List<String> getSubscriptions()
protected void setSubscriptions(List<String> subscriptionIds)
subscriptionIds
- The list of subscription id's