public interface Channel
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
void |
addChannelOffSetting(DeviceSetting setting)
Adds a setting to the list of settings which get deactivated if this channel gets deactivated.
|
void |
addChannelOnSetting(DeviceSetting setting)
Adds a setting to the list of settings which get activated if this channel gets activated.
|
java.lang.String |
getChannelGroupID()
Returns the ID of the channel group where this channel belongs to.
|
java.lang.String |
getChannelID()
Returns the ID of this channel.
|
DeviceSetting[] |
getChannelOffSettings()
Returns all device settings which get set if this channel is deactivated.
|
DeviceSetting[] |
getChannelOnSettings()
Returns all device settings which get set if this channel is activated.
|
int |
getChannelTimeout()
Returns the current timeout when changing a channel.
|
java.lang.String |
getShutter()
Returns the device ID of the shutter of this channel.
|
void |
setChannelOffSettings(DeviceSetting[] settings)
Sets all device settings which get set if this channel is deactivated.
|
void |
setChannelOnSettings(DeviceSetting[] settings)
Sets all device settings which get set if this channel is activated.
|
void |
setChannelTimeout(int timeOutInMillis)
Sets a timeout when changing the channel for synchronization
purposes.
|
void |
setShutter(java.lang.String deviceID)
Sets the shutter device of this channel.
|
DeviceSetting[] getChannelOnSettings() throws java.rmi.RemoteException
java.rmi.RemoteException
DeviceSetting[] getChannelOffSettings() throws java.rmi.RemoteException
java.rmi.RemoteException
void setChannelOnSettings(DeviceSetting[] settings) throws MicroscopeLockedException, SettingException, java.rmi.RemoteException
settings
- New settings for the channel.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
SettingException
java.rmi.RemoteException
void setChannelOffSettings(DeviceSetting[] settings) throws MicroscopeLockedException, SettingException, java.rmi.RemoteException
settings
- New settings for the channel.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
SettingException
java.rmi.RemoteException
void addChannelOnSetting(DeviceSetting setting) throws MicroscopeLockedException, SettingException, java.rmi.RemoteException
setting
- Setting to add.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
SettingException
java.rmi.RemoteException
void addChannelOffSetting(DeviceSetting setting) throws MicroscopeLockedException, SettingException, java.rmi.RemoteException
setting
- Setting to add.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
SettingException
java.rmi.RemoteException
java.lang.String getChannelGroupID() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getChannelID() throws java.rmi.RemoteException
java.rmi.RemoteException
void setChannelTimeout(int timeOutInMillis) throws MicroscopeLockedException, java.rmi.RemoteException
timeOutInMillis
- The timeout (wait) in ms.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
java.rmi.RemoteException
int getChannelTimeout() throws java.rmi.RemoteException
java.rmi.RemoteException
void setShutter(java.lang.String deviceID) throws SettingException, MicroscopeLockedException, java.rmi.RemoteException
deviceID
- The device ID of the shutter.SettingException
MicroscopeLockedException
java.rmi.RemoteException
java.lang.String getShutter() throws java.rmi.RemoteException
java.rmi.RemoteException