- All Implemented Interfaces:
Serializable
,Comparable<AFUNIXSocketCapability>
,Constable
Deprecated.
Describes junixsocket capabilities the current environment (system platform, native library,
etc.) may or may not support.
You can check whether your environment supports a given capability by calling
AFSocket.supports(AFUNIXSocketCapability)
.
This enum is deprecated. Use AFSocketCapability
instead.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Socket addressing supports the abstract namespace (Linux).Deprecated.Socket supports sending and receiving ancillary messages.Deprecated.Support for AF_UNIX datagrams (not on Windows yet).Deprecated.Socket supports passing file descriptors via ancillary messages.Deprecated.A pair of interconnected sockets can be created natively.Deprecated.Socket supports retrieving peer credentials. -
Method Summary
Modifier and TypeMethodDescriptionstatic AFUNIXSocketCapability
Deprecated.Returns the enum constant of this class with the specified name.static AFUNIXSocketCapability[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CAPABILITY_PEER_CREDENTIALS
Deprecated.Socket supports retrieving peer credentials. -
CAPABILITY_ANCILLARY_MESSAGES
Deprecated.Socket supports sending and receiving ancillary messages. -
CAPABILITY_FILE_DESCRIPTORS
Deprecated.Socket supports passing file descriptors via ancillary messages. -
CAPABILITY_ABSTRACT_NAMESPACE
Deprecated.Socket addressing supports the abstract namespace (Linux). -
CAPABILITY_DATAGRAMS
Deprecated.Support for AF_UNIX datagrams (not on Windows yet). -
CAPABILITY_NATIVE_SOCKETPAIR
Deprecated.A pair of interconnected sockets can be created natively. This currently not possible on Windows, but instead emulated via anonymous AF_INET ports when you useAFUNIXSocketPair
.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-