public interface Loader
Modifier and Type | Method and Description |
---|---|
void |
addSubscription(String topicPath,
String destination)
Add a new subscription to the model.
|
void |
removeSubscription(String topicPath,
String destination)
Remove a subscription from the model.
|
void addSubscription(String topicPath, String destination) throws DestinationParseException
topicPath
- Topic path of the subscription to adddestination
- push notification network destination, e.g.
apns://QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWY=
DestinationParseException
- if destination
cannot be parsedvoid removeSubscription(String topicPath, String destination) throws DestinationParseException
topicPath
- Topic path of the subscription for removaldestination
- push notification network destination, e.g.
apns://QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWY=
DestinationParseException
- if destination
cannot be parsedCopyright © 2016 Push Technology Ltd. All Rights Reserved.