public static enum LocalSocketAddress.Namespace extends Enum<LocalSocketAddress.Namespace>
Enum Constant and Description |
---|
ABSTRACT
A socket in the Linux abstract namespace
|
FILESYSTEM
A socket named with a normal filesystem path.
|
RESERVED
A socket in the Android reserved namespace in /dev/socket.
|
Modifier and Type | Method and Description |
---|---|
static LocalSocketAddress.Namespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalSocketAddress.Namespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalSocketAddress.Namespace ABSTRACT
public static final LocalSocketAddress.Namespace RESERVED
public static final LocalSocketAddress.Namespace FILESYSTEM
public static LocalSocketAddress.Namespace[] values()
for (LocalSocketAddress.Namespace c : LocalSocketAddress.Namespace.values()) System.out.println(c);
public static LocalSocketAddress.Namespace 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 null