public class ChannelSuite extends java.lang.Object implements DataListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_LABEL |
Constructor and Description |
---|
ChannelSuite()
Creates a new instance of ChannelSuite
|
ChannelSuite(ChannelFactory channelFactory)
Primary constructor for creating an instance of channel suite
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dataLabel()
dataLabel() provides the name used to identify the class in an
external data source.
|
Channel |
getChannel(java.lang.String handle)
Get the channel corresponding to the specified handle.
|
java.util.Collection<java.lang.String> |
getHandles()
Get all of the handles managed by the is channel suite.
|
java.lang.String |
getSignal(java.lang.String handle)
Get the channel signal corresponding to the handle.
|
ValueTransform |
getTransform(java.lang.String handle)
Get the transform associated with the specified handle.
|
boolean |
hasHandle(java.lang.String handle)
See if this channel suite manages the specified handle.
|
protected boolean |
hasSignal(java.lang.String signal)
See if this channel suite manages the specified signal.
|
boolean |
isValid(java.lang.String handle)
Determine whether the handle's corresponding PV is valid.
|
void |
update(DataAdaptor adaptor)
Update the data based on the information provided by the data provider.
|
void |
write(DataAdaptor adaptor)
Write data to the data adaptor for storage.
|
public static final java.lang.String DATA_LABEL
public ChannelSuite()
public ChannelSuite(ChannelFactory channelFactory)
public java.lang.String dataLabel()
dataLabel
in interface DataListener
public void update(DataAdaptor adaptor)
update
in interface DataListener
adaptor
- The adaptor from which to update the datapublic void write(DataAdaptor adaptor)
write
in interface DataListener
adaptor
- The adaptor to which the receiver's data is writtenprotected boolean hasSignal(java.lang.String signal)
signal
- The PV signal to check for availability.public final boolean hasHandle(java.lang.String handle)
handle
- The handle to check for availability.public final java.util.Collection<java.lang.String> getHandles()
public final java.lang.String getSignal(java.lang.String handle)
handle
- The handle for which to get the PV signal name.public final ValueTransform getTransform(java.lang.String handle)
handle
- The handle for which to get the transform.public final boolean isValid(java.lang.String handle)
handle
- The handle for which to get the validity.public Channel getChannel(java.lang.String handle)
handle
- The handle for which to get the associated Channel.