public enum ConnectionUnsigned extends Enum<ConnectionUnsigned>
| Enum Constant and Description |
|---|
CLIENT_IP_ADDRESS
The IP address of the external client, with the first octet of the address
in the high-order byte of the parameters integer value.
|
CLIENT_IP_PORT
The port to which the client connected.
|
CONNECTION_STATUS
Connection status.
|
CURRENT_STATUS_DURATION
The number of seconds since last time the connection's status changed.
|
STREAM_NUMBER
The controller command stream associated with the connection.
|
WATCHDOG_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
index(ConnectionName conn)
Gets the controller index number associated with the parameter for a given connection.
|
String |
reference(ConnectionName conn)
Gets the string used to refer to a connection parameter in AcroBasic for a given connection.
|
static ConnectionUnsigned |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionUnsigned[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionUnsigned CONNECTION_STATUS
public static final ConnectionUnsigned CLIENT_IP_ADDRESS
public static final ConnectionUnsigned CLIENT_IP_PORT
public static final ConnectionUnsigned CURRENT_STATUS_DURATION
public static final ConnectionUnsigned STREAM_NUMBER
public static final ConnectionUnsigned WATCHDOG_NUMBER
public static ConnectionUnsigned[] values()
for (ConnectionUnsigned c : ConnectionUnsigned.values()) System.out.println(c);
public static ConnectionUnsigned valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int index(ConnectionName conn)
conn - the connection.public String reference(ConnectionName conn)
conn - the connection.Copyright © 2017 LSST. All rights reserved.