BatchConnectionTest
@Deprecated
public class ScadaCheckConnect
extends java.lang.Object
AcceleratorNode
object. This is done without sending any data (i.e.,
a caget or caput command. Moreover,
all the connections are tested in batch and the timeout
period is specified by the user (i.e., it is not the default
channel access timeout).Modifier and Type | Class and Description |
---|---|
static class |
ScadaCheckConnect.ConnectionMonitor
Deprecated.
This class is used is a Channel Access connection
monitor.
|
static class |
ScadaCheckConnect.TestChannelList
Deprecated.
List of channels under test.
|
Constructor and Description |
---|
ScadaCheckConnect(AcceleratorNode smfDev)
Deprecated.
Create a new
ScadaCheckConnect object connected
to the given accelerator device. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Channel> |
getFailedChannels()
Deprecated.
Returns the list of channels that failed to connect.
|
boolean |
testConnection(java.lang.Class<?> clsScada,
double dblTmOut)
Deprecated.
Test the connections in all the channels in this DAQ data structure for the
given accelerator device.
|
public ScadaCheckConnect(AcceleratorNode smfDev)
ScadaCheckConnect
object connected
to the given accelerator device.smfDev
- accelerator device under testpublic boolean testConnection(java.lang.Class<?> clsScada, double dblTmOut) throws BadStructException
clsScada
- the SCADA data structure defining the connection channelsdblTmOut
- time to wait for establishing connectiontrue
if all connections were successful,
false
if not all connection were made within given timeBadStructException
- the data structure is not annotated by AScada
public java.util.List<Channel> getFailedChannels()