Top Description Methods
org.newsclub.net.unix

public Interface AFProtocolFamily

extends ProtocolFamily
Known Direct Implementers
org.newsclub.net.unix.AFUNIXProtocolFamily
Imports
java.io.IOException, java.net.ProtocolFamily

A junixsocket-based protocol family.
Author
Christian Kohlschütter

Method Summary

Modifier and TypeMethod and Description
public AFDatagramChannel<?>

Returns:

A new datagram channel.
openDatagramChannel
()

Creates a new datagram channel compatible with this protocol family.

public AFServerSocketChannel<?>

Returns:

A new server socket channel.
openServerSocketChannel
()

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

public AFSocketChannel<?>

Returns:

A new socket channel.
openSocketChannel
()

Creates a new socket channel compatible with this protocol family.

Inherited from java.net.ProtocolFamily:
name

Method Detail

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

Creates a new datagram channel compatible with this protocol family.

Returns:AFDatagramChannel<?>

A new datagram channel.

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

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

Returns:AFServerSocketChannel<?>

A new server socket channel.

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

Creates a new socket channel compatible with this protocol family.

Returns:AFSocketChannel<?>

A new socket channel.

Exceptions
IOException:
on error.