public interface MedicalDeviceCommunicationInterface
BICEPSDeviceInterface.| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Connect.
|
void |
disconnect()
Disconnect.
|
Set<Class<? extends MDICommand>> |
getHandledCommands()
Gets the handled commands.
|
BICEPSDeviceNodeInterfaceDescriptionProvider |
getInterfaceDescriptionProvider()
Gets the interface description provider.
|
BICEPSDeviceNodeInterfaceStateProvider |
getInterfaceStateProvider()
Gets the interface state provider.
|
Set<BICEPSQoSPolicy> |
getPoliciesForCommand(Class<? extends MDICommand> cmdClz)
Gets the policies for a command class.
|
void |
initialize()
Initializes the communication with the medical device before connecting to it.
|
void |
setMDICommandReceivingQueue(BlockingQueue<MDICommand> commandQueue)
Sets the MDI command receiving queue.
|
void |
setMDINotificationQueue(BlockingQueue<MDINotification> notificationQueue)
Sets the MDI notification queue.
|
void |
setMDIStreamQueue(BlockingQueue<StreamFrame> waveformQueue)
Sets the MDI stream queue.
|
void |
startCommandHandling()
Signals that the medical device should start handling commands now.
|
void |
startupComplete()
Startup complete.
|
void |
stopCommandHandling()
Signals that the medical device may stop handling commands now.
|
BICEPSDeviceNodeInterfaceDescriptionProvider getInterfaceDescriptionProvider()
BICEPSDeviceNodeInterfaceStateProvider getInterfaceStateProvider()
void initialize()
void connect()
void disconnect()
Set<Class<? extends MDICommand>> getHandledCommands()
void setMDICommandReceivingQueue(BlockingQueue<MDICommand> commandQueue)
commandQueue - the new MDI command receiving queuevoid setMDINotificationQueue(BlockingQueue<MDINotification> notificationQueue)
notificationQueue - the new MDI notification queuevoid startCommandHandling()
void stopCommandHandling()
void setMDIStreamQueue(BlockingQueue<StreamFrame> waveformQueue)
waveformQueue - the new MDI stream queueSet<BICEPSQoSPolicy> getPoliciesForCommand(Class<? extends MDICommand> cmdClz)
cmdClz - the cmd clzvoid startupComplete()
Copyright © 2018. All rights reserved.