Uses of Class
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.
Uses of MembershipKey in java.nio.channelsModifier and TypeMethodDescription
abstract MembershipKeyBlock multicast datagrams from the given source address.Joins a multicast group to begin receiving all datagrams sent to the group, returning a membership key.Joins a multicast group to begin receiving datagrams sent to the group from a given source address.
abstract MembershipKeyUnblock multicast datagrams from the given source address that was previously blocked using the