public class DefaultSubscriptionManager extends java.lang.Object implements SubscriptionManager
| Constructor and Description |
|---|
DefaultSubscriptionManager(com.draeger.medical.mdpws.client.MDPWSClient mdpwsClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
createStreamSubscription(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
java.lang.String action) |
void |
createStreamSubscription(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
java.lang.String portType,
java.lang.String action) |
org.ws4d.java.eventing.ClientSubscription |
getClientSubscription(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
java.lang.String portType,
java.lang.String outputAction) |
void |
registerMdibReports(org.ws4d.java.types.EndpointReference networkDeviceEndpoint) |
void |
removeClientSubscription(org.ws4d.java.eventing.ClientSubscription cs,
boolean unsubscribe) |
boolean |
removeMDIBSubscription(org.ws4d.java.eventing.ClientSubscription subscription) |
void |
unregisterMdibReports() |
void |
unregisterMdibReports(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
boolean communicationFailed) |
public DefaultSubscriptionManager(com.draeger.medical.mdpws.client.MDPWSClient mdpwsClient)
public void registerMdibReports(org.ws4d.java.types.EndpointReference networkDeviceEndpoint)
registerMdibReports in interface SubscriptionManagerpublic void unregisterMdibReports(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
boolean communicationFailed)
throws org.ws4d.java.eventing.EventingException,
org.ws4d.java.communication.CommunicationException
unregisterMdibReports in interface SubscriptionManagerorg.ws4d.java.eventing.EventingExceptionorg.ws4d.java.communication.CommunicationExceptionpublic void unregisterMdibReports()
throws org.ws4d.java.eventing.EventingException,
org.ws4d.java.communication.CommunicationException
unregisterMdibReports in interface SubscriptionManagerorg.ws4d.java.eventing.EventingExceptionorg.ws4d.java.communication.CommunicationExceptionpublic org.ws4d.java.eventing.ClientSubscription getClientSubscription(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
java.lang.String portType,
java.lang.String outputAction)
throws org.ws4d.java.eventing.EventingException,
org.ws4d.java.communication.CommunicationException
getClientSubscription in interface SubscriptionManagerorg.ws4d.java.eventing.EventingExceptionorg.ws4d.java.communication.CommunicationExceptionpublic void removeClientSubscription(org.ws4d.java.eventing.ClientSubscription cs,
boolean unsubscribe)
removeClientSubscription in interface SubscriptionManagerpublic void createStreamSubscription(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
java.lang.String action)
throws org.ws4d.java.communication.CommunicationException,
java.io.IOException
createStreamSubscription in interface SubscriptionManagerorg.ws4d.java.communication.CommunicationExceptionjava.io.IOExceptionpublic void createStreamSubscription(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
java.lang.String portType,
java.lang.String action)
throws java.io.IOException,
org.ws4d.java.communication.CommunicationException
java.io.IOExceptionorg.ws4d.java.communication.CommunicationExceptionpublic boolean removeMDIBSubscription(org.ws4d.java.eventing.ClientSubscription subscription)
removeMDIBSubscription in interface SubscriptionManager