LocalSocketAddress.Namespace
public
static
final
enum
LocalSocketAddress.Namespace
extends Enum<LocalSocketAddress.Namespace>
java.lang.Object | ||
↳ | java.lang.Enum<android.net.LocalSocketAddress.Namespace> | |
↳ | android.net.LocalSocketAddress.Namespace |
The namespace that this address exists in. See also include/cutils/sockets.h ANDROID_SOCKET_NAMESPACE_*
Summary
Enum values | |
---|---|
LocalSocketAddress.Namespace |
ABSTRACT
A socket in the Linux abstract namespace |
LocalSocketAddress.Namespace |
FILESYSTEM
A socket named with a normal filesystem path. |
LocalSocketAddress.Namespace |
RESERVED
A socket in the Android reserved namespace in /dev/socket. |
Public methods | |
---|---|
static
LocalSocketAddress.Namespace
|
valueOf(String name)
|
static
final
Namespace[]
|
values()
|
Inherited methods | |
---|---|
Enum values
ABSTRACT
public static final LocalSocketAddress.Namespace ABSTRACT
A socket in the Linux abstract namespace
FILESYSTEM
public static final LocalSocketAddress.Namespace FILESYSTEM
A socket named with a normal filesystem path.
RESERVED
public static final LocalSocketAddress.Namespace RESERVED
A socket in the Android reserved namespace in /dev/socket. Only the init process may create a socket here.
Public methods
valueOf
public static LocalSocketAddress.Namespace valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
LocalSocketAddress.Namespace |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.