- All Superinterfaces:
ProtocolFamily
- All Known Implementing Classes:
AFUNIXProtocolFamily
A junixsocket-based protocol family.
- Author:
- Christian Kohlschütter
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new datagram channel compatible with this protocol family.Creates a new server socket channel compatible with this protocol family.Creates a new socket channel compatible with this protocol family.Methods inherited from interface java.net.ProtocolFamily
name
-
Method Details
-
openDatagramChannel
Creates a new datagram channel compatible with this protocol family.- Returns:
- A new datagram channel.
- Throws:
IOException
- on error.
-
openServerSocketChannel
Creates a new server socket channel compatible with this protocol family.- Returns:
- A new server socket channel.
- Throws:
IOException
- on error.
-
openSocketChannel
Creates a new socket channel compatible with this protocol family.- Returns:
- A new socket channel.
- Throws:
IOException
- on error.
-