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

public final Enum AFUNIXProtocolFamily

extends Enum<AFUNIXProtocolFamily>
implements AFProtocolFamily
Class Inheritance
All Implemented Interfaces
org.newsclub.net.unix.AFProtocolFamily, java.net.ProtocolFamily
Imports
java.io.IOException

Describes the protocol family supported by AFUNIXSocketAddress etc.
Author
Christian Kohlschütter

Field Summary

Modifier and TypeField and Description
public static final AFUNIXProtocolFamily
UNIX

UNIX domain.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public AFDatagramChannel<?>
openDatagramChannel()

Implements org.newsclub.net.unix.AFProtocolFamily.openDatagramChannel.

Creates a new datagram channel compatible with this protocol family.

public AFServerSocketChannel<?>
openServerSocketChannel()

Implements org.newsclub.net.unix.AFProtocolFamily.openServerSocketChannel.

Creates a new server socket channel compatible with this protocol family.

public AFSocketChannel<?>
openSocketChannel()

Implements org.newsclub.net.unix.AFProtocolFamily.openSocketChannel.

Creates a new socket channel compatible with this protocol family.

public static AFUNIXProtocolFamily
public static AFUNIXProtocolFamily[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

UNIXback to summary
public static final AFUNIXProtocolFamily UNIX

UNIX domain.

Constructor Detail

AFUNIXProtocolFamilyback to summary
private AFUNIXProtocolFamily()

Method Detail

openDatagramChannelback to summary
public AFDatagramChannel<?> openDatagramChannel() throws IOException

Implements org.newsclub.net.unix.AFProtocolFamily.openDatagramChannel.

Doc from org.newsclub.net.unix.AFProtocolFamily.openDatagramChannel.

Creates a new datagram channel compatible with this protocol family.

Returns:AFDatagramChannel<?>

A new datagram channel.

Annotations
@Override
Exceptions
IOException:
on error.
openServerSocketChannelback to summary
public AFServerSocketChannel<?> openServerSocketChannel() throws IOException

Implements org.newsclub.net.unix.AFProtocolFamily.openServerSocketChannel.

Doc from org.newsclub.net.unix.AFProtocolFamily.openServerSocketChannel.

Creates a new server socket channel compatible with this protocol family.

Returns:AFServerSocketChannel<?>

A new server socket channel.

Annotations
@Override
Exceptions
IOException:
on error.
openSocketChannelback to summary
public AFSocketChannel<?> openSocketChannel() throws IOException

Implements org.newsclub.net.unix.AFProtocolFamily.openSocketChannel.

Doc from org.newsclub.net.unix.AFProtocolFamily.openSocketChannel.

Creates a new socket channel compatible with this protocol family.

Returns:AFSocketChannel<?>

A new socket channel.

Annotations
@Override
Exceptions
IOException:
on error.
valueOfback to summary
public static AFUNIXProtocolFamily valueOf(String name)
valuesback to summary
public static AFUNIXProtocolFamily[] values()