public class DefaultSubscriptionManager extends 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,
String action) |
void |
createStreamSubscription(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
String portType,
String action) |
org.ws4d.java.eventing.ClientSubscription |
getClientSubscription(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
String portType,
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,
String portType,
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,
String action)
throws org.ws4d.java.communication.CommunicationException,
IOException
createStreamSubscription in interface SubscriptionManagerorg.ws4d.java.communication.CommunicationExceptionIOExceptionpublic void createStreamSubscription(org.ws4d.java.types.EndpointReference networkDeviceEndpoint,
String portType,
String action)
throws IOException,
org.ws4d.java.communication.CommunicationException
IOExceptionorg.ws4d.java.communication.CommunicationExceptionpublic boolean removeMDIBSubscription(org.ws4d.java.eventing.ClientSubscription subscription)
removeMDIBSubscription in interface SubscriptionManagerCopyright © 2017. All rights reserved.