public class DefaultMDPWSClientAdapter extends com.draeger.medical.mdpws.client.MDPWSClient implements CommunicationAdapter
| Modifier and Type | Field and Description |
|---|---|
static boolean |
searchForLegacyDeviceTypes |
| Constructor and Description |
|---|
DefaultMDPWSClientAdapter(org.ws4d.java.security.SecurityKey securityKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(CommunicationAdapterCallback arg0) |
void |
connectToDevice(org.ws4d.java.service.reference.DeviceReference devRef,
MDIBStructure mdibContainer)
Connect to device and register for network-related discovery events.
|
ProxyCommunication |
createProxyCommunication(MDIBStructure mdib,
Descriptor descriptor,
HashMap<String,BICEPSSafetyInformationPolicyElement> safetyInformation) |
void |
deviceBye(org.ws4d.java.service.reference.DeviceReference deviceReference) |
void |
deviceChanged(org.ws4d.java.service.reference.DeviceReference deviceRef) |
void |
deviceFound(org.ws4d.java.service.reference.DeviceReference devRef,
org.ws4d.java.types.SearchParameter search,
String comManId) |
void |
deviceRemovedByWatchdog(org.ws4d.java.service.reference.DeviceReference deviceReference) |
org.ws4d.java.service.parameter.ParameterValue |
eventReceived(org.ws4d.java.eventing.ClientSubscription subscription,
org.ws4d.java.types.URI actionURI,
org.ws4d.java.service.parameter.ParameterValue parameterValue) |
ContextDiscovery |
getContextDiscovery() |
void |
helloReceived(org.ws4d.java.types.HelloData helloData) |
boolean |
isPnpEnabled() |
void |
noDevicesFound(org.ws4d.java.types.SearchParameter search) |
void |
registerMdibReports(org.ws4d.java.types.EndpointReference networkDeviceEndpoint) |
boolean |
remove(CommunicationAdapterCallback arg0) |
CommunicationContainer<ContainmentTree,HashMap<String,BICEPSSafetyInformationPolicyElement>> |
retrieveContainmentTreeInfo(org.ws4d.java.service.reference.DeviceReference devRef,
String handle) |
CommunicationContainer<List<Descriptor>,HashMap<String,BICEPSSafetyInformationPolicyElement>> |
retrieveDescription(org.ws4d.java.service.reference.DeviceReference devRef,
String handle) |
CommunicationContainer<MDDescription,HashMap<String,BICEPSSafetyInformationPolicyElement>> |
retrieveMDDescription(org.ws4d.java.service.reference.DeviceReference devRef) |
CommunicationContainer<MDIB,HashMap<String,BICEPSSafetyInformationPolicyElement>> |
retrieveMdib(org.ws4d.java.service.reference.DeviceReference devRef) |
CommunicationContainer<MDState,?> |
retrieveStates(org.ws4d.java.service.reference.DeviceReference devRef) |
CommunicationContainer<MDState,?> |
retrieveStates(org.ws4d.java.service.reference.DeviceReference devRef,
Collection<String> handles) |
CommunicationContainer<MDState,?> |
retrieveStates(org.ws4d.java.service.reference.DeviceReference devRef,
String handle) |
void |
searchDevice(NetworkSearchQuery search) |
void |
setDeviceReferenceBlacklist(List<String> blacklist) |
void |
setDeviceReferenceWhitelist(List<String> whitelist) |
void |
setPnpEnabled(boolean pnpEnabled) |
void |
setVMLocalDeviceDetectionEnabled(boolean vmLocalDeviceDetectionEnabled) |
BICEPSClientAliveWatchDog |
startBICEPSClientWatchDog(org.ws4d.java.service.reference.DeviceReference devRef) |
BICEPSClientAliveWatchDog |
startBICEPSClientWatchDog(org.ws4d.java.service.reference.DeviceReference devRef,
int maxWatchDogTimeout,
int maxWatchDogRetries) |
void |
stop() |
void |
subscriptionEndReceived(org.ws4d.java.eventing.ClientSubscription subscription,
int subscriptionEndType) |
void |
subscriptionTimeoutReceived(org.ws4d.java.eventing.ClientSubscription subscription) |
void |
tickInterfaces(org.ws4d.java.service.reference.DeviceReference devRef) |
void |
unsubscribeAsDeviceListener(Set<org.ws4d.java.types.EndpointReference> set) |
getEventSink, getStreamConsumer, getStreamFrameHandler, sendGetMetaDataForStreamInfo, setStreamFrameHandler, subscribeToStream, subscribeToStreamInternal, updateaddSupportedProtocolInfo, announceCommunicationBindingDestroyed1, announceCommunicationBindingDown1, announceCommunicationBindingUp1, announceDiscoveryBindingDestroyed1, announceDiscoveryBindingDown1, announceDiscoveryBindingUp1, announceNewCommunicationBindingAvailable1, announceNewDiscoveryBindingAvailable1, announceNewInterfaceAvailable1, announceNewOutgoingDiscoveryInfoAvailable1, announceOutgoingDiscoveryInfoDestroyed1, deviceBuiltUp, deviceCommunicationErrorOrReset, deviceCompletelyDiscovered, deviceFound, deviceRunning, finishedSearching, generateEventSink, getAuthorizationManager, getCommunicationStructureListener, getDefaultOutgoingDiscoveryInfos, getDefaultOutgoingDiscoveryInfos, getDefaultOutgoingDiscoveryInfosAutoBinding, getDeviceReference, getDeviceReference, getDeviceReference, getDeviceReference, getDeviceReference, getDeviceReference, getDeviceReference, getDeviceReference, getDeviceReference, getDiscoveryAutoBindingsForHelloListening, getDiscoveryBindingsForHelloListening, getServiceReference, getServiceReference, getServiceReference, getServiceReference, getSupportedProtocolInfos, getSupportedProtocolInfos, hasDiscoveryAutoBindingsForHelloListening, hasDiscoveryBindingsForHelloListening, isInDiscoveryAutoBindingsForHelloListening, isInDiscoveryBindingsForHelloListening, registerHelloListening, registerHelloListening, registerHelloListening, registerHelloListening, registerHelloListening, registerHelloListening, registerHelloListening, registerHelloListening, registerHelloListening, registerHelloListening, registerHelloListening, registerServiceListening, removeSupportedProtocolInfo, searchDevice, searchService, serviceChanged, serviceCreated, serviceDisposed, serviceFound, serviceFound, setAuthorizationManager, startedSearching, unregisterHelloListening, unregisterHelloListening, unregisterHelloListening, unregisterHelloListening, unregisterHelloListening, unregisterServiceListeningpublic DefaultMDPWSClientAdapter(org.ws4d.java.security.SecurityKey securityKey)
public boolean add(CommunicationAdapterCallback arg0)
add in interface CommunicationAdapterpublic boolean remove(CommunicationAdapterCallback arg0)
remove in interface CommunicationAdapterpublic BICEPSClientAliveWatchDog startBICEPSClientWatchDog(org.ws4d.java.service.reference.DeviceReference devRef)
startBICEPSClientWatchDog in interface CommunicationAdapterpublic BICEPSClientAliveWatchDog startBICEPSClientWatchDog(org.ws4d.java.service.reference.DeviceReference devRef, int maxWatchDogTimeout, int maxWatchDogRetries)
startBICEPSClientWatchDog in interface CommunicationAdapterpublic boolean isPnpEnabled()
isPnpEnabled in interface CommunicationAdapterpublic void setPnpEnabled(boolean pnpEnabled)
setPnpEnabled in interface CommunicationAdapterpublic void connectToDevice(org.ws4d.java.service.reference.DeviceReference devRef,
MDIBStructure mdibContainer)
CommunicationAdapterconnectToDevice in interface CommunicationAdapterdevRef - the dev refmdibContainer - the mdib containerpublic void tickInterfaces(org.ws4d.java.service.reference.DeviceReference devRef)
tickInterfaces in interface CommunicationAdapterpublic void stop()
stop in interface CommunicationAdapterstop in class com.draeger.medical.mdpws.client.MDPWSClientpublic void unsubscribeAsDeviceListener(Set<org.ws4d.java.types.EndpointReference> set)
unsubscribeAsDeviceListener in interface CommunicationAdapterpublic void searchDevice(NetworkSearchQuery search)
searchDevice in interface CommunicationAdapterpublic void helloReceived(org.ws4d.java.types.HelloData helloData)
helloReceived in interface org.ws4d.java.client.HelloListenerhelloReceived in class org.ws4d.java.client.DefaultClientpublic org.ws4d.java.service.parameter.ParameterValue eventReceived(org.ws4d.java.eventing.ClientSubscription subscription,
org.ws4d.java.types.URI actionURI,
org.ws4d.java.service.parameter.ParameterValue parameterValue)
eventReceived in interface org.ws4d.java.eventing.EventListenereventReceived in class org.ws4d.java.client.DefaultClientpublic void deviceFound(org.ws4d.java.service.reference.DeviceReference devRef,
org.ws4d.java.types.SearchParameter search,
String comManId)
deviceFound in interface org.ws4d.java.client.SearchCallbackdeviceFound in class org.ws4d.java.client.DefaultClientpublic void noDevicesFound(org.ws4d.java.types.SearchParameter search)
noDevicesFound in interface org.ws4d.java.client.SearchCallbacknoDevicesFound in class org.ws4d.java.client.DefaultClientpublic void deviceChanged(org.ws4d.java.service.reference.DeviceReference deviceRef)
deviceChanged in interface org.ws4d.java.service.listener.DeviceListenerdeviceChanged in class org.ws4d.java.client.DefaultClientpublic CommunicationContainer<MDIB,HashMap<String,BICEPSSafetyInformationPolicyElement>> retrieveMdib(org.ws4d.java.service.reference.DeviceReference devRef) throws org.ws4d.java.service.InvocationException, org.ws4d.java.communication.CommunicationException
retrieveMdib in interface CommunicationAdapterorg.ws4d.java.service.InvocationExceptionorg.ws4d.java.communication.CommunicationExceptionpublic CommunicationContainer<MDDescription,HashMap<String,BICEPSSafetyInformationPolicyElement>> retrieveMDDescription(org.ws4d.java.service.reference.DeviceReference devRef) throws org.ws4d.java.service.InvocationException, org.ws4d.java.communication.CommunicationException
retrieveMDDescription in interface CommunicationAdapterorg.ws4d.java.service.InvocationExceptionorg.ws4d.java.communication.CommunicationExceptionpublic CommunicationContainer<List<Descriptor>,HashMap<String,BICEPSSafetyInformationPolicyElement>> retrieveDescription(org.ws4d.java.service.reference.DeviceReference devRef, String handle) throws org.ws4d.java.service.InvocationException, org.ws4d.java.communication.CommunicationException
retrieveDescription in interface CommunicationAdapterorg.ws4d.java.service.InvocationExceptionorg.ws4d.java.communication.CommunicationExceptionpublic CommunicationContainer<ContainmentTree,HashMap<String,BICEPSSafetyInformationPolicyElement>> retrieveContainmentTreeInfo(org.ws4d.java.service.reference.DeviceReference devRef, String handle) throws org.ws4d.java.service.InvocationException, org.ws4d.java.communication.CommunicationException
retrieveContainmentTreeInfo in interface CommunicationAdapterorg.ws4d.java.service.InvocationExceptionorg.ws4d.java.communication.CommunicationExceptionpublic void deviceRemovedByWatchdog(org.ws4d.java.service.reference.DeviceReference deviceReference)
deviceRemovedByWatchdog in interface CommunicationAdapterpublic void deviceBye(org.ws4d.java.service.reference.DeviceReference deviceReference)
deviceBye in interface org.ws4d.java.service.listener.DeviceListenerdeviceBye in class org.ws4d.java.client.DefaultClientpublic void subscriptionEndReceived(org.ws4d.java.eventing.ClientSubscription subscription,
int subscriptionEndType)
subscriptionEndReceived in interface org.ws4d.java.eventing.EventListenersubscriptionEndReceived in class org.ws4d.java.client.DefaultClientpublic void subscriptionTimeoutReceived(org.ws4d.java.eventing.ClientSubscription subscription)
subscriptionTimeoutReceived in interface org.ws4d.java.eventing.EventListenersubscriptionTimeoutReceived in class org.ws4d.java.client.DefaultClientpublic ProxyCommunication createProxyCommunication(MDIBStructure mdib, Descriptor descriptor, HashMap<String,BICEPSSafetyInformationPolicyElement> safetyInformation)
createProxyCommunication in interface CommunicationAdapterpublic void registerMdibReports(org.ws4d.java.types.EndpointReference networkDeviceEndpoint)
registerMdibReports in interface CommunicationAdapterpublic CommunicationContainer<MDState,?> retrieveStates(org.ws4d.java.service.reference.DeviceReference devRef, Collection<String> handles) throws org.ws4d.java.service.InvocationException, org.ws4d.java.communication.CommunicationException
retrieveStates in interface CommunicationAdapterorg.ws4d.java.service.InvocationExceptionorg.ws4d.java.communication.CommunicationExceptionpublic CommunicationContainer<MDState,?> retrieveStates(org.ws4d.java.service.reference.DeviceReference devRef, String handle) throws org.ws4d.java.service.InvocationException, org.ws4d.java.communication.CommunicationException
retrieveStates in interface CommunicationAdapterorg.ws4d.java.service.InvocationExceptionorg.ws4d.java.communication.CommunicationExceptionpublic CommunicationContainer<MDState,?> retrieveStates(org.ws4d.java.service.reference.DeviceReference devRef) throws org.ws4d.java.service.InvocationException, org.ws4d.java.communication.CommunicationException
retrieveStates in interface CommunicationAdapterorg.ws4d.java.service.InvocationExceptionorg.ws4d.java.communication.CommunicationExceptionpublic void setDeviceReferenceWhitelist(List<String> whitelist)
setDeviceReferenceWhitelist in interface CommunicationAdapterpublic void setDeviceReferenceBlacklist(List<String> blacklist)
setDeviceReferenceBlacklist in interface CommunicationAdapterpublic void setVMLocalDeviceDetectionEnabled(boolean vmLocalDeviceDetectionEnabled)
setVMLocalDeviceDetectionEnabled in interface CommunicationAdapterpublic ContextDiscovery getContextDiscovery()
getContextDiscovery in interface CommunicationAdapterCopyright © 2017. All rights reserved.