Uses of Interface
io.netty.channel.group.ChannelMatcher
Packages that use ChannelMatcher
Package
Description
A channel registry which helps a user maintain the list of open
Channels and perform bulk operations on them.-
Uses of ChannelMatcher in io.netty.channel.group
Methods in io.netty.channel.group that return ChannelMatcherModifier and TypeMethodDescriptionstatic ChannelMatcherChannelMatchers.all()Returns aChannelMatcherthat matches allChannels.static ChannelMatcherChannelMatchers.compose(ChannelMatcher... matchers) Return a composite of the givenChannelMatchers.static ChannelMatcherChannelMatchers.invert(ChannelMatcher matcher) Invert the givenChannelMatcher.static ChannelMatcherReturns aChannelMatcherthat matches the givenChannel.static ChannelMatcherChannelMatchers.isInstanceOf(Class<? extends Channel> clazz) Returns aChannelMatcherthat matches allChannels that are an instance of sub-type of the given class.static ChannelMatcherChannelMatchers.isNonServerChannel()static ChannelMatcherReturns aChannelMatcherthat matches allChannels except the given.static ChannelMatcherChannelMatchers.isNotInstanceOf(Class<? extends Channel> clazz) Returns aChannelMatcherthat matches allChannels that are not an instance of sub-type of the given class.static ChannelMatcherChannelMatchers.isServerChannel()Methods in io.netty.channel.group with parameters of type ChannelMatcherModifier and TypeMethodDescriptionChannelGroup.close(ChannelMatcher matcher) Closes allChannels in this group that are matched by the givenChannelMatcher.DefaultChannelGroup.close(ChannelMatcher matcher) static ChannelMatcherChannelMatchers.compose(ChannelMatcher... matchers) Return a composite of the givenChannelMatchers.ChannelGroup.deregister(ChannelMatcher matcher) Deprecated.This method will be removed in the next major feature release.DefaultChannelGroup.deregister(ChannelMatcher matcher) ChannelGroup.disconnect(ChannelMatcher matcher) Disconnects allChannels in this group from their remote peers, that are matched by the givenChannelMatcher.DefaultChannelGroup.disconnect(ChannelMatcher matcher) ChannelGroup.flush(ChannelMatcher matcher) Flush allChannels in this group that are matched by the givenChannelMatcher.DefaultChannelGroup.flush(ChannelMatcher matcher) ChannelGroup.flushAndWrite(Object message, ChannelMatcher matcher) Deprecated.UseChannelGroup.writeAndFlush(Object, ChannelMatcher)instead.DefaultChannelGroup.flushAndWrite(Object message, ChannelMatcher matcher) static ChannelMatcherChannelMatchers.invert(ChannelMatcher matcher) Invert the givenChannelMatcher.ChannelGroup.newCloseFuture(ChannelMatcher matcher) Returns theChannelGroupFuturewhich will be notified when allChannels that are part of thisChannelGroup, at the time of calling, are closed.DefaultChannelGroup.newCloseFuture(ChannelMatcher matcher) ChannelGroup.write(Object message, ChannelMatcher matcher) Writes the specifiedmessageto allChannels in this group that are matched by the givenChannelMatcher.ChannelGroup.write(Object message, ChannelMatcher matcher, boolean voidPromise) Writes the specifiedmessageto allChannels in this group that are matched by the givenChannelMatcher.DefaultChannelGroup.write(Object message, ChannelMatcher matcher) DefaultChannelGroup.write(Object message, ChannelMatcher matcher, boolean voidPromise) ChannelGroup.writeAndFlush(Object message, ChannelMatcher matcher) Shortcut for callingChannelGroup.write(Object)andChannelGroup.flush()and only act onChannels that are matched by theChannelMatcher.ChannelGroup.writeAndFlush(Object message, ChannelMatcher matcher, boolean voidPromise) Shortcut for callingChannelGroup.write(Object, ChannelMatcher, boolean)andChannelGroup.flush()and only act onChannels that are matched by theChannelMatcher.DefaultChannelGroup.writeAndFlush(Object message, ChannelMatcher matcher) DefaultChannelGroup.writeAndFlush(Object message, ChannelMatcher matcher, boolean voidPromise)