Uses of Class
java.nio.channels.DatagramChannel
-
Packages that use DatagramChannel 软件包 描述 java.net 提供实现网络应用程序的类。java.nio.channels 定义通道,其表示与能够执行I / O操作的实体的连接,例如文件和套接字; 定义选择器,用于多路复用,非阻塞I / O操作。java.nio.channels.spi java.nio.channels
包的服务提供者类。 -
-
Uses of DatagramChannel in java.net
Methods in java.net that return DatagramChannel Modifier and Type 方法 描述 DatagramChannel
DatagramSocket. getChannel()
返回与此数据报套接字相关联的唯一的DatagramChannel
对象(如果有)。 -
Uses of DatagramChannel in java.nio.channels
Methods in java.nio.channels that return DatagramChannel Modifier and Type 方法 描述 abstract DatagramChannel
DatagramChannel. bind(SocketAddress local)
abstract DatagramChannel
DatagramChannel. connect(SocketAddress remote)
连接此通道的插座。abstract DatagramChannel
DatagramChannel. disconnect()
断开此通道的插座。static DatagramChannel
DatagramChannel. open()
打开数据报通道。static DatagramChannel
DatagramChannel. open(ProtocolFamily family)
打开数据报通道。abstract <T> DatagramChannel
DatagramChannel. setOption(SocketOption<T> name, T value)
-
Uses of DatagramChannel in java.nio.channels.spi
Methods in java.nio.channels.spi that return DatagramChannel Modifier and Type 方法 描述 abstract DatagramChannel
SelectorProvider. openDatagramChannel()
打开数据报通道。abstract DatagramChannel
SelectorProvider. openDatagramChannel(ProtocolFamily family)
打开数据报通道。
-