public interface EventingService
Modifier and Type | Method and Description |
---|---|
Set |
querySubscriptions(SubscriptionSelectionFilter filter)
Retrieve a list of subscriptions according to the given filter criteria.
|
void |
renewSubscription(String subscriptionId)
Renew a subscription.
|
String |
subscribe(EventSubscriptionAttributes attributes)
Subscribe for an event.
|
void |
unsubscribe(String subscriptionId)
Unsubscribe a subscription.
|
void |
unsubscribeAll()
Unsubscribe from all existing subscriptions that have been made by the
specific version of the snap-in invoking this method.
|
String subscribe(EventSubscriptionAttributes attributes)
attributes
- The EventSubscriptionAttributes
object specifying the
various properties of a subscription. The attributes will
typically specify an event family, one or more events types,
and a set of filter criteria to limit the event notifications
to events of interest.Set querySubscriptions(SubscriptionSelectionFilter filter)
filter
- A filter specifying which subscriptions to return.void renewSubscription(String subscriptionId)
com.avaya.collaboration.eventing
) for more
information.subscriptionId
- The ID of the subscription to be renewed.void unsubscribe(String subscriptionId)
subscriptionId
- The ID of the subscription to unsubscribe. Note that if a
single subscription is made for multiple event types, it is
not possible to unsubscribe for only a subset of those event
types. To achieve finer granularity with unsubscribe one must
subscribe with finer granularity.void unsubscribeAll()
Copyright © 2016 Avaya. All Rights Reserved.