Package ddf.catalog.event
Interface Subscriber
public interface Subscriber
A Subscriber is used to identify a service that is capable of deleting subscriptions. The
Subscriber must have created the subscription being deleted and maintained a reference to its
ServiceRegistration in order to be able to delete the subscription.
-
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteSubscription(String subscriptionId) Deletes a subscription with the specified ID.
-
Method Details
-
deleteSubscription
Deletes a subscription with the specified ID. Subscription deletion includes unregistering the Subscription's OSGi service, its associated DurableSubscription OSGi service (if any), and removing the subscription from the internal hashmaps maintained by the Subscriber.- Parameters:
subscriptionId- the globally unique UUID for a subscription- Returns:
- true if subscription successfully deleted; false otherwise
-