@Immutable
public class ProtocolConfiguration
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolConfiguration.PropertyNames |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EPICS_CA_ADDR_LIST_DEFAULT
Default address list
|
static boolean |
EPICS_CA_AUTO_ADDR_LIST_DEFAULT
Default address list
|
static float |
EPICS_CA_CONN_TMO_DEFAULT
Default connection timeout.
|
static int |
EPICS_CA_MAX_ARRAY_BYTES_DEFAULT
Default maximum size of array passed through CA.
|
static int |
EPICS_CA_REPEATER_PORT_DEFAULT
Default CA repeater port.
|
static int |
EPICS_CA_SERVER_PORT_DEFAULT
Default CA server port.
|
| Constructor and Description |
|---|
ProtocolConfiguration()
Constructs a new instance whose default values may be overrideen
by environmental variables only.
|
ProtocolConfiguration(java.util.Properties properties)
Constructs a new instance whose default values may be overridden by
environmental variables or values set in the supplied properties
object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddressList()
Returns a space-separated list of broadcast addresses which can be used
for process variable name resolution.
|
boolean |
getAutoAddressList()
Defines whether or not the network interfaces should be discovered at runtime.
|
float |
getConnectionTimeout()
If the context doesn't see a beacon from a server that it is connected to for connectionTimeout
seconds then a state-of-health message is sent to the server over TCP/IP.
|
int |
getMaxArrayBytes()
Returns the length in bytes of the maximum array size that may pass through CA.
|
int |
getRepeaterPort()
Returns the port number that the CA library will contact when attempting to register with the CA Repeater.
|
int |
getServerPort()
Returns the port number that the CA library will use when broadcasting channel search requests.
|
public static final java.lang.String EPICS_CA_ADDR_LIST_DEFAULT
public static final boolean EPICS_CA_AUTO_ADDR_LIST_DEFAULT
public static final float EPICS_CA_CONN_TMO_DEFAULT
public static final int EPICS_CA_REPEATER_PORT_DEFAULT
public static final int EPICS_CA_SERVER_PORT_DEFAULT
public static final int EPICS_CA_MAX_ARRAY_BYTES_DEFAULT
public ProtocolConfiguration()
public ProtocolConfiguration(java.util.Properties properties)
properties - an object providing property overrides.java.lang.NullPointerException - if the properties argument was null.public java.lang.String getAddressList()
public boolean getAutoAddressList()
public float getConnectionTimeout()
public int getRepeaterPort()
public int getServerPort()
public int getMaxArrayBytes()