public interface ChannelManager
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
Channel |
addChannel(java.lang.String channelGroupID,
java.lang.String channelID)
Adds the channel in the given config group.
|
Channel |
getChannel(java.lang.String channelGroupID,
java.lang.String channelID)
Returns the channel with the given ID and channel group ID.
|
java.lang.String[] |
getChannelGroupIDs()
Returns a list of all available config groups (e.g.
|
Channel[] |
getChannels()
Returns all channels.
|
Channel[] |
getChannels(java.lang.String channelGroupID)
Returns all channels in the given channel group.
|
void |
removeChannel(java.lang.String channelGroupID,
java.lang.String channelID)
Removes the channel in the given channel group.
|
java.lang.String[] getChannelGroupIDs() throws java.rmi.RemoteException
java.rmi.RemoteException
Channel[] getChannels(java.lang.String channelGroupID) throws SettingException, java.rmi.RemoteException
channelGroupID
- The ID of channel group for which the IDs of the contained channels should be returned..SettingException
java.rmi.RemoteException
Channel[] getChannels() throws java.rmi.RemoteException
channelGroupID
- The ID of channel group for which the IDs of the contained channels should be returned..java.rmi.RemoteException
Channel getChannel(java.lang.String channelGroupID, java.lang.String channelID) throws SettingException, java.rmi.RemoteException
channelGroupID
- The channel group where the channel is defined.channelID
- The ID of the channel.SettingException
- Thrown if the channel is not defined.java.rmi.RemoteException
Channel addChannel(java.lang.String channelGroupID, java.lang.String channelID) throws MicroscopeLockedException, SettingException, java.rmi.RemoteException
channelGroupID
- The config group where the channel should be created.channelID
- The name of the channel.MicroscopeLockedException
SettingException
java.rmi.RemoteException
void removeChannel(java.lang.String channelGroupID, java.lang.String channelID) throws MicroscopeLockedException, SettingException, java.rmi.RemoteException
channelGroupID
- The group in which the channel is defined.channelID
- The ID of the channel.MicroscopeLockedException
SettingException
java.rmi.RemoteException