public enum SocketControlMessage extends Enum<SocketControlMessage> implements Constant
| Enum Constant and Description |
|---|
__UNKNOWN_CONSTANT__ |
SCM_BINTIME |
SCM_CREDENTIALS |
SCM_CREDS |
SCM_RIGHTS |
SCM_TIMESTAMP |
SCM_TIMESTAMPING |
SCM_TIMESTAMPNS |
SCM_UCRED |
SCM_WIFI_STATUS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
defined() |
String |
description() |
int |
intValue() |
long |
longValue() |
String |
toString() |
int |
value() |
static SocketControlMessage |
valueOf(long 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_TIMESTAMPNS
public static final SocketControlMessage SCM_TIMESTAMPING
public static final SocketControlMessage SCM_BINTIME
public static final SocketControlMessage SCM_CREDENTIALS
public static final SocketControlMessage SCM_CREDS
public static final SocketControlMessage SCM_UCRED
public static final SocketControlMessage SCM_WIFI_STATUS
public static final SocketControlMessage __UNKNOWN_CONSTANT__
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 int value()
public final String description()
public final String toString()
toString in class Enum<SocketControlMessage>public static SocketControlMessage valueOf(long value)
Copyright © 2025. All rights reserved.