Uses of Interface
java.net.ProtocolFamily
Package
Description
Provides the classes for implementing networking applications.
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files and sockets; defines selectors, for
multiplexed, non-blocking I/O operations.
Service-provider classes for the
java.nio.channels
package.-
Uses of ProtocolFamily in java.net
Modifier and TypeClassDescriptionenum
Defines the standard families of communication protocols. -
Uses of ProtocolFamily in java.nio.channels
Modifier and TypeMethodDescriptionstatic DatagramChannel
DatagramChannel.open
(ProtocolFamily family) Opens a datagram channel.static ServerSocketChannel
ServerSocketChannel.open
(ProtocolFamily family) Opens a server-socket channel.static SocketChannel
SocketChannel.open
(ProtocolFamily family) Opens a socket channel. -
Uses of ProtocolFamily in java.nio.channels.spi
Modifier and TypeMethodDescriptionabstract DatagramChannel
SelectorProvider.openDatagramChannel
(ProtocolFamily family) Opens a datagram channel.SelectorProvider.openServerSocketChannel
(ProtocolFamily family) Opens a server-socket channel.SelectorProvider.openSocketChannel
(ProtocolFamily family) Opens a socket channel.