public class DisplayChannelMulti extends Object implements DisplayChannel
DisplayChannel that can be associated with multiple original data channels.| Constructor and Description |
|---|
DisplayChannelMulti(String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChannel(AgentChannel channel)
Adds an original published data channel to the list of channels associated with this display channel.
|
void |
appendChannel(AgentChannel channel)
Appends an original published data channel to the list of channels associated with this display channel.
|
boolean |
equals(Object obj) |
List<AgentChannel> |
getChannels()
Returns an unmodifiable list of original published data channels associated with this display channel.
|
String |
getPath()
Returns the display path associated with this channel.
|
Updatable |
getTarget()
Returns the object that should be notified whenever there are changes to data channels associated with this display channel.
|
int |
hashCode() |
boolean |
purgeOfflineChannels(List<String> agentNames)
Removes all offline channels from the specified agents.
|
boolean |
removeChannel(String path)
Removes an original published data channel from the list of channels associated with this display channel.
|
void |
setChannel(AgentChannel channel)
Sets the original published data channel associated with this display channel.
|
void |
setChannels(Collection<AgentChannel> channels)
Sets the list of original published data channels associated with this display channel.
|
void |
setTarget(Updatable target)
Set the object that should be notified whenever there are changes to data channels associated with this display channel.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetChannel, updatepublic DisplayChannelMulti(String path)
public String getPath()
DisplayChannelgetPath in interface DisplayChannelpublic Updatable getTarget()
DisplayChannelgetTarget in interface DisplayChannelpublic void setTarget(Updatable target)
DisplayChannelsetTarget in interface DisplayChanneltarget - Target to be notified of changes.public List<AgentChannel> getChannels()
DisplayChannelgetChannels in interface DisplayChannelpublic void setChannel(AgentChannel channel)
DisplayChannelsetChannel in interface DisplayChannelchannel - Data channel.public void setChannels(Collection<AgentChannel> channels)
DisplayChannelsetChannels in interface DisplayChannelchannels - Data channels to be associated with this display channel.public void addChannel(AgentChannel channel)
DisplayChanneladdChannel in interface DisplayChannelchannel - Data channel.public void appendChannel(AgentChannel channel)
DisplayChannelappendChannel in interface DisplayChannelchannel - Data channel.public boolean removeChannel(String path)
DisplayChannelremoveChannel in interface DisplayChannelpath - Original path of the channel to be removed.public boolean purgeOfflineChannels(List<String> agentNames)
DisplayChannelfalse.purgeOfflineChannels in interface DisplayChannelagentNames - Agent names.Copyright © 2023 LSST. All rights reserved.