public interface Device
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeviceID()
Returns the name of the device.
|
java.lang.String |
getDriverID()
Returns the Identifier under which this device's driver is defined in the library.
|
Property[] |
getEditableProperties()
Returns a list of all editable properties of this device.
|
double |
getExplicitDelay()
Returns the explicit device delay in ms.
|
java.lang.String |
getLibraryID()
Returns the library name in which this device's driver is defined.
|
Property[] |
getProperties()
Returns a list of all properties of this device.
|
Property |
getProperty(java.lang.String propertyID)
Returns the property of this device with the given name, or null if this device does not have a property with this name.
|
DeviceType |
getType()
Returns the type of this device.
|
void |
setExplicitDelay(double delay)
Sets the explicit delay in ms.
|
void |
waitForDevice()
Waits for the device to have finished its latest actions before returning.
|
java.lang.String getDeviceID() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getLibraryID() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getDriverID() throws java.rmi.RemoteException
java.rmi.RemoteException
DeviceType getType() throws java.rmi.RemoteException
java.rmi.RemoteException
Property[] getProperties() throws java.rmi.RemoteException
java.rmi.RemoteException
Property[] getEditableProperties() throws java.rmi.RemoteException
java.rmi.RemoteException
Property getProperty(java.lang.String propertyID) throws DeviceException, java.rmi.RemoteException
propertyID
- Name of the property.DeviceException
java.rmi.RemoteException
void waitForDevice() throws MicroscopeException, java.rmi.RemoteException, java.lang.InterruptedException
MicroscopeException
java.rmi.RemoteException
java.lang.InterruptedException
double getExplicitDelay() throws java.rmi.RemoteException
java.rmi.RemoteException
void setExplicitDelay(double delay) throws MicroscopeException, java.rmi.RemoteException, MicroscopeLockedException
delay
- Delay iin ms.MicroscopeException
java.rmi.RemoteException
MicroscopeLockedException