public interface AgentChannel
Object) and optional attributes identified by string keys.
A channel is identified by a unique path (slash-separated string, with the subsystem name as the first element).
Implementations should ensure that the path is used to establish channel equality and hash code.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AgentChannel.Key
Enumeration of standard attributes.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get()
Returns the current central value of this channel.
|
<T> T |
get(Object key)
Returns the value of the channel attribute identified by the
key. |
org.lsst.ccs.bus.data.AgentInfo |
getAgent()
Returns the descriptor of the
Agent this channel belongs to. |
String |
getAgentName()
Returns the name of the
Agent this channel belongs to. |
List<String> |
getAttributes()
Returns the list of keys of attributes this channel has.
|
String |
getLocalPath()
Returns the path of this channel with the agent name and the following slash stripped.
|
String |
getPath()
Return the unique path of this channel.
|
String getPath()
String getAgentName()
Agent this channel belongs to.org.lsst.ccs.bus.data.AgentInfo getAgent()
Agent this channel belongs to.String getLocalPath()
<T> T get(Object key)
key.T - Type of the attribute value.key - The attribute is identified by the string returned by toString() method of the key object.
If key is null or evaluates to Key.VALUE, the central value is returned.null if this channel does not have the specified attribute.<T> T get()
T - Type of the central value.Copyright © 2018 LSST. All rights reserved.