Interface AFProtocolFamily

All Superinterfaces:
ProtocolFamily
All Known Implementing Classes:
AFUNIXProtocolFamily

public interface AFProtocolFamily extends ProtocolFamily
A junixsocket-based protocol family.
Author:
Christian Kohlschütter
  • Method Details

    • openDatagramChannel

      AFDatagramChannel<?> openDatagramChannel() throws IOException
      Creates a new datagram channel compatible with this protocol family.
      Returns:
      A new datagram channel.
      Throws:
      IOException - on error.
    • openServerSocketChannel

      AFServerSocketChannel<?> openServerSocketChannel() throws IOException
      Creates a new server socket channel compatible with this protocol family.
      Returns:
      A new server socket channel.
      Throws:
      IOException - on error.
    • openSocketChannel

      AFSocketChannel<?> openSocketChannel() throws IOException
      Creates a new socket channel compatible with this protocol family.
      Returns:
      A new socket channel.
      Throws:
      IOException - on error.