public interface MedicalDeviceCommunicationInterface
BICEPSDeviceInterface.| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Connect.
|
void |
disconnect()
Disconnect.
|
java.util.Set<java.lang.Class<? extends MDICommand>> |
getHandledCommands()
Gets the handled commands.
|
BICEPSDeviceNodeInterfaceDescriptionProvider |
getInterfaceDescriptionProvider()
Gets the interface description provider.
|
BICEPSDeviceNodeInterfaceStateProvider |
getInterfaceStateProvider()
Gets the interface state provider.
|
java.util.Set<BICEPSQoSPolicy> |
getPoliciesForCommand(java.lang.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(java.util.concurrent.BlockingQueue<MDICommand> commandQueue)
Sets the MDI command receiving queue.
|
void |
setMDINotificationQueue(java.util.concurrent.BlockingQueue<MDINotification> notificationQueue)
Sets the MDI notification queue.
|
void |
setMDIStreamQueue(java.util.concurrent.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()
java.util.Set<java.lang.Class<? extends MDICommand>> getHandledCommands()
void setMDICommandReceivingQueue(java.util.concurrent.BlockingQueue<MDICommand> commandQueue)
commandQueue - the new MDI command receiving queuevoid setMDINotificationQueue(java.util.concurrent.BlockingQueue<MDINotification> notificationQueue)
notificationQueue - the new MDI notification queuevoid startCommandHandling()
void stopCommandHandling()
void setMDIStreamQueue(java.util.concurrent.BlockingQueue<StreamFrame> waveformQueue)
waveformQueue - the new MDI stream queuejava.util.Set<BICEPSQoSPolicy> getPoliciesForCommand(java.lang.Class<? extends MDICommand> cmdClz)
cmdClz - the cmd clzvoid startupComplete()