Top Description Fields Constructors Methods
org.newsclub.net.unix

public final Enum AFUNIXSocketCapability

extends Enum<AFUNIXSocketCapability>
Class Inheritance
Annotations
@Deprecated

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 AFUNIXSocket#supports(AFUNIXSocketCapability). This enum is deprecated. Use AFSocketCapability instead.
See Also
AFSocketCapability

Field Summary

Modifier and TypeField and Description
private final int
public static final AFUNIXSocketCapability
CAPABILITY_ABSTRACT_NAMESPACE

References Deprecated AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.
Socket addressing supports the abstract namespace (Linux).
public static final AFUNIXSocketCapability
CAPABILITY_ANCILLARY_MESSAGES

References Deprecated AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.
Socket supports sending and receiving ancillary messages.
public static final AFUNIXSocketCapability
CAPABILITY_DATAGRAMS

References Deprecated AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.
Support for AF_UNIX datagrams (not on Windows yet).
public static final AFUNIXSocketCapability
CAPABILITY_FILE_DESCRIPTORS

References Deprecated AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.
Socket supports passing file descriptors via ancillary messages.
public static final AFUNIXSocketCapability
CAPABILITY_NATIVE_SOCKETPAIR

References Deprecated AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.
A pair of interconnected sockets can be created natively.
public static final AFUNIXSocketCapability
CAPABILITY_PEER_CREDENTIALS

References Deprecated AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.
Socket supports retrieving peer credentials.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv int
public static AFUNIXSocketCapability
valueOf(String name)
References Deprecated AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

public static AFUNIXSocketCapability[]
values()
References Deprecated AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

bitmaskback to summary
private final int bitmask
CAPABILITY_ABSTRACT_NAMESPACEback to summary
public static final AFUNIXSocketCapability CAPABILITY_ABSTRACT_NAMESPACE

References Deprecated

AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Socket addressing supports the abstract namespace (Linux).

CAPABILITY_ANCILLARY_MESSAGESback to summary
public static final AFUNIXSocketCapability CAPABILITY_ANCILLARY_MESSAGES

References Deprecated

AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Socket supports sending and receiving ancillary messages.

CAPABILITY_DATAGRAMSback to summary
public static final AFUNIXSocketCapability CAPABILITY_DATAGRAMS

References Deprecated

AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Support for AF_UNIX datagrams (not on Windows yet).

CAPABILITY_FILE_DESCRIPTORSback to summary
public static final AFUNIXSocketCapability CAPABILITY_FILE_DESCRIPTORS

References Deprecated

AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Socket supports passing file descriptors via ancillary messages.

CAPABILITY_NATIVE_SOCKETPAIRback to summary
public static final AFUNIXSocketCapability CAPABILITY_NATIVE_SOCKETPAIR

References Deprecated

AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

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 use AFUNIXSocketPair.

CAPABILITY_PEER_CREDENTIALSback to summary
public static final AFUNIXSocketCapability CAPABILITY_PEER_CREDENTIALS

References Deprecated

AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Socket supports retrieving peer credentials.

Constructor Detail

AFUNIXSocketCapabilityback to summary
private AFUNIXSocketCapability(int bit)

Method Detail

getBitmaskback to summary
pack-priv int getBitmask()
valueOfback to summary
public static AFUNIXSocketCapability valueOf(String name)

References Deprecated

AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

valuesback to summary
public static AFUNIXSocketCapability[] values()

References Deprecated

AFUNIXSocketCapability is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.