org.dasein.cloud.services.notifications
Interface NotificationsServices
public interface NotificationsServices
confirmSubscription
String confirmSubscription(String providerTopicId,
String token,
boolean authenticateUnsubscribe)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
createTopic
Topic createTopic(String name)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
getProviderTermForSubscription
String getProviderTermForSubscription(Locale locale)
getProviderTermForTopic
String getProviderTermForTopic(Locale locale)
listSubscriptions
Collection<Subscription> listSubscriptions(String optionalTopicId)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
listTopics
Collection<Topic> listTopics()
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
publish
String publish(String providerTopicId,
String subject,
String message)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
removeTopic
void removeTopic(String providerTopicId)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
subscribe
void subscribe(String providerTopicId,
EndpointType endpointType,
DataFormat dataFormat,
String endpoint)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
unsubscribe
void unsubscribe(String providerSubscriptionId)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
Copyright © 2009 enStratus Networks LLC – Available under the terms of the Artistic License 2.0.