public interface ChannelHandle
Updatable target component that displays it and should be notified of changes.| 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 target)
Set the object that handles an updatable display of the data channel.
|
default void |
update(List<String> attributes)
Updates the target.
|
AgentChannel getChannel()
String getPath()
Updatable getTarget()
void setChannel(AgentChannel channel)
channel - void setPath(String path)
path - Display path.void setTarget(Updatable target)
target - Target display for the underlying channel.default void update(List<String> attributes)
getAffectedFields(...) method, then calls the appropriate update(...) method of the target.
Most classes implementing this interface will not override this method.attributes - List of attributes whose values might have changed, or null if all attribute values might have changed.Copyright © 2018 LSST. All rights reserved.