public enum SocketControlMessage extends Enum<SocketControlMessage> implements Constant
| Enum Constant and Description |
|---|
SCM_BINTIME |
SCM_CREDS |
SCM_RIGHTS |
SCM_TIMESTAMP |
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
String |
toString() |
int |
value() |
static SocketControlMessage |
valueOf(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_BINTIME
public static final SocketControlMessage SCM_CREDS
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(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 final String toString()
toString in class Enum<SocketControlMessage>public final int value()
Copyright © 2025. All rights reserved.