public enum SocketControlMessage extends java.lang.Enum<SocketControlMessage> implements Constant
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
SocketControlMessage.StringTable |
| Enum Constant and Description |
|---|
SCM_CREDENTIALS |
SCM_RIGHTS |
SCM_TIMESTAMP |
SCM_TIMESTAMPING |
SCM_TIMESTAMPNS |
SCM_WIFI_STATUS |
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
private long |
value |
| Modifier and Type | Method and Description |
|---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
java.lang.String |
toString() |
int |
value() |
static SocketControlMessage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SocketControlMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketControlMessage SCM_RIGHTS
public static final SocketControlMessage SCM_TIMESTAMP
public static final SocketControlMessage SCM_TIMESTAMPNS
public static final SocketControlMessage SCM_TIMESTAMPING
public static final SocketControlMessage SCM_CREDENTIALS
public static final SocketControlMessage SCM_WIFI_STATUS
private final long value
public static final long MIN_VALUE
public static final long MAX_VALUE
public static SocketControlMessage[] values()
for (SocketControlMessage c : SocketControlMessage.values()) System.out.println(c);
public static SocketControlMessage valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final java.lang.String toString()
toString in class java.lang.Enum<SocketControlMessage>public final int value()