public interface ISSNService extends BaseService
| Modifier and Type | Method and Description |
|---|---|
boolean |
actionCreatePerformed(String resourceType,
String profileId,
String profile)
fossil.
|
boolean |
actionDeletePerformed(String resourceType,
String profileId)
fossil.
|
boolean |
actionUpdatePerformed(String resourceType,
String profileId,
String profileBefore,
String profileAfter)
fossil.
|
String |
getCurrentMessage(String topic)
fossil.
|
List<String> |
listSubscriptions()
list all subscriptions.
|
boolean |
pauseSubscription(String subscrId)
puts a subcription in a paused state.
|
boolean |
renew(String subscrId,
int terminationTime)
Used to renew the subscription before it expires.
|
boolean |
resumeSubscription(String subscrId)
resumes a paused subscription.
|
String |
subscribe(W3CEndpointReference consumerReference,
String topicExpression,
int initialTerminationTime) |
boolean |
unsubscribe(String subscrId) |
identify, notify, startString getCurrentMessage(String topic) throws ISSNException
topic - ISSNExceptionboolean pauseSubscription(String subscrId) throws ISSNException
subscrId - subscription identifierISSNException - may happenboolean renew(String subscrId, int terminationTime) throws ISSNException
In practice it resets the ttl to another value, so it can be used to reset a infinte ttl subscription to a finite value.
subscrId - subscription idterminationTime - new ttl (from now), or 0 (infinite)ISSNException - may happenboolean resumeSubscription(String subscrId) throws ISSNException
subscrId - subscription idISSNException - may happenString subscribe(W3CEndpointReference consumerReference, String topicExpression, int initialTerminationTime) throws ISSNException, SubscriptionRequestRejectedException
consumerReference - epr to be called when the notification is triggeredtopicExpression - topic expression to registerinitialTerminationTime - ttl in seconds (0 = infinite)ISSNException - may happenSubscriptionRequestRejectedExceptionboolean unsubscribe(String subscrId) throws ISSNException
ISSNExceptionboolean actionCreatePerformed(String resourceType, String profileId, String profile) throws ISSNException
resourceType - profileId - profile - ISSNExceptionboolean actionUpdatePerformed(String resourceType, String profileId, String profileBefore, String profileAfter) throws ISSNException
resourceType - profileId - profileBefore - profileAfter - ISSNExceptionboolean actionDeletePerformed(String resourceType, String profileId) throws ISSNException
resourceType - profileId - ISSNExceptionCopyright © 2017. All rights reserved.