public class DefaultChannelHandle extends Object implements ChannelHandle
ChannelHandle.| Constructor and Description |
|---|
DefaultChannelHandle(String path,
AgentChannel channel,
Updatable view) |
| Modifier and Type | Method and Description |
|---|---|
AgentChannel |
getChannel()
Returns data channel object wrapped by this handle.
|
String |
getPath()
Returns the display path associated with the underlying data channel in the monitoring view.
|
Updatable |
getTarget()
Returns the object that handles an updatable display of the data channel.
|
void |
setChannel(AgentChannel channel)
Sets data channel object wrapped by this handle.
|
void |
setPath(String path)
Sets the display path associated with the underlying data channel.
|
void |
setTarget(Updatable view)
Set the object that handles an updatable display of the data channel.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdatepublic DefaultChannelHandle(String path, AgentChannel channel, Updatable view)
public String getPath()
ChannelHandlegetPath in interface ChannelHandlepublic AgentChannel getChannel()
ChannelHandlegetChannel in interface ChannelHandlepublic Updatable getTarget()
ChannelHandlegetTarget in interface ChannelHandlepublic void setPath(String path)
ChannelHandlesetPath in interface ChannelHandlepath - Display path.public void setChannel(AgentChannel channel)
ChannelHandlesetChannel in interface ChannelHandlepublic void setTarget(Updatable view)
ChannelHandlesetTarget in interface ChannelHandleview - Target display for the underlying channel.Copyright © 2018 LSST. All rights reserved.