Interface SubscriptionManagerFactory
public interface SubscriptionManagerFactory
Creates
SubscriptionManager instances for event source and sink side.-
Method Summary
Modifier and TypeMethodDescriptioncreateSinkSubscriptionManager(org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType subscriptionManagerEpr, Duration expires, org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType notifyTo, org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType endTo, List<Object> filters, String filterDialect) Creates aSinkSubscriptionManagerinstance.createSourceSubscriptionManager(org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType subscriptionManagerEpr, Duration expires, org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType notifyTo, org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType endTo, String subscriptionId, List<Object> filters, String filterDialect, String callerId) Creates aSourceSubscriptionManagerinstance.
-
Method Details
-
createSourceSubscriptionManager
SourceSubscriptionManager createSourceSubscriptionManager(org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType subscriptionManagerEpr, Duration expires, org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType notifyTo, @Nullable org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType endTo, String subscriptionId, List<Object> filters, String filterDialect, @Nullable String callerId) Creates aSourceSubscriptionManagerinstance.- Parameters:
subscriptionManagerEpr- endpoint reference where to request subscription modification requests (GetStatus, Renew, Unsubscribe).expires- expiration duration.notifyTo- endpoint reference where to send notifications to.endTo- endpoint reference where to send end-to request to or null if none is available.subscriptionId- the subscription id for the subscription manager.filters- filter objects handled by the subscription manager (depending on the filter dialect).filterDialect- the filter dialect as a URI.callerId- the caller id or null if none is available.- Returns:
- a new
SourceSubscriptionManagerinstance.
-
createSinkSubscriptionManager
SinkSubscriptionManager createSinkSubscriptionManager(org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType subscriptionManagerEpr, Duration expires, org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType notifyTo, org.somda.sdc.dpws.soap.wsaddressing.model.EndpointReferenceType endTo, List<Object> filters, String filterDialect) Creates aSinkSubscriptionManagerinstance.A subscription id is assigned automatically.
- Parameters:
subscriptionManagerEpr- endpoint reference where to receive subscription modification requests (GetStatus, Renew, Unsubscribe).expires- expiration duration.notifyTo- endpoint reference where to receive notifications at.endTo- endpoint reference where to receive end-to request at.filters- filter objects handled by the subscription manager (depending on the filter dialect).filterDialect- the filter dialect as a URI.- Returns:
- a new
SinkSubscriptionManagerinstance.
-