Uses of Class
java.nio.channels.MembershipKey
-
Packages that use MembershipKey 软件包 描述 java.nio.channels 定义通道,表示与能够执行I / O操作的实体的连接,例如文件和套接字; 定义选择器,用于多路复用,非阻塞I / O操作。 -
-
Uses of MembershipKey in java.nio.channels
Methods in java.nio.channels that return MembershipKey 变量和类型 方法 描述 abstract MembershipKey
MembershipKey. block(InetAddress source)
阻止来自给定源地址的多播数据报。MembershipKey
MulticastChannel. join(InetAddress group, NetworkInterface interf)
加入多播组以开始接收发送给该组的所有数据报,并返回成员资格密钥。MembershipKey
MulticastChannel. join(InetAddress group, NetworkInterface interf, InetAddress source)
加入多播组以开始接收从给定源地址发送到该组的数据报。abstract MembershipKey
MembershipKey. unblock(InetAddress source)
-