Uses of Interface
io.netty.channel.group.ChannelMatcher
-
Packages that use ChannelMatcher Package Description io.netty.channel.group A channel registry which helps a user maintain the list of openChannels and perform bulk operations on them. -
-
Uses of ChannelMatcher in io.netty.channel.group
Classes in io.netty.channel.group that implement ChannelMatcher Modifier and Type Class Description private static classChannelMatchers.ClassMatcherprivate static classChannelMatchers.CompositeMatcherprivate static classChannelMatchers.InstanceMatcherprivate static classChannelMatchers.InvertMatcherFields in io.netty.channel.group declared as ChannelMatcher Modifier and Type Field Description private static ChannelMatcherChannelMatchers. ALL_MATCHERprivate ChannelMatcherChannelMatchers.InvertMatcher. matcherprivate ChannelMatcher[]ChannelMatchers.CompositeMatcher. matchersprivate static ChannelMatcherChannelMatchers. NON_SERVER_CHANNEL_MATCHERprivate static ChannelMatcherChannelMatchers. SERVER_CHANNEL_MATCHERMethods in io.netty.channel.group that return ChannelMatcher Modifier and Type Method Description static 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 ChannelMatcherChannelMatchers. is(Channel channel)Returns aChannelMatcherthat matches the givenChannel.static ChannelMatcherChannelMatchers. isInstanceOf(java.lang.Class<? extends Channel> clazz)Returns aChannelMatcherthat matches allChannels that are an instance of sub-type of the given class.static ChannelMatcherChannelMatchers. isNonServerChannel()static ChannelMatcherChannelMatchers. isNot(Channel channel)Returns aChannelMatcherthat matches allChannels except the given.static ChannelMatcherChannelMatchers. isNotInstanceOf(java.lang.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 ChannelMatcher Modifier and Type Method Description ChannelGroupFutureChannelGroup. close(ChannelMatcher matcher)Closes allChannels in this group that are matched by the givenChannelMatcher.ChannelGroupFutureDefaultChannelGroup. close(ChannelMatcher matcher)static ChannelMatcherChannelMatchers. compose(ChannelMatcher... matchers)Return a composite of the givenChannelMatchers.ChannelGroupFutureChannelGroup. deregister(ChannelMatcher matcher)Deprecated.This method will be removed in the next major feature release.ChannelGroupFutureDefaultChannelGroup. deregister(ChannelMatcher matcher)ChannelGroupFutureChannelGroup. disconnect(ChannelMatcher matcher)Disconnects allChannels in this group from their remote peers, that are matched by the givenChannelMatcher.ChannelGroupFutureDefaultChannelGroup. disconnect(ChannelMatcher matcher)ChannelGroupChannelGroup. flush(ChannelMatcher matcher)Flush allChannels in this group that are matched by the givenChannelMatcher.ChannelGroupDefaultChannelGroup. flush(ChannelMatcher matcher)ChannelGroupFutureChannelGroup. flushAndWrite(java.lang.Object message, ChannelMatcher matcher)Deprecated.UseChannelGroup.writeAndFlush(Object, ChannelMatcher)instead.ChannelGroupFutureDefaultChannelGroup. flushAndWrite(java.lang.Object message, ChannelMatcher matcher)static ChannelMatcherChannelMatchers. invert(ChannelMatcher matcher)Invert the givenChannelMatcher.ChannelGroupFutureChannelGroup. newCloseFuture(ChannelMatcher matcher)Returns theChannelGroupFuturewhich will be notified when allChannels that are part of thisChannelGroup, at the time of calling, are closed.ChannelGroupFutureDefaultChannelGroup. newCloseFuture(ChannelMatcher matcher)ChannelGroupFutureChannelGroup. write(java.lang.Object message, ChannelMatcher matcher)Writes the specifiedmessageto allChannels in this group that are matched by the givenChannelMatcher.ChannelGroupFutureChannelGroup. write(java.lang.Object message, ChannelMatcher matcher, boolean voidPromise)Writes the specifiedmessageto allChannels in this group that are matched by the givenChannelMatcher.ChannelGroupFutureDefaultChannelGroup. write(java.lang.Object message, ChannelMatcher matcher)ChannelGroupFutureDefaultChannelGroup. write(java.lang.Object message, ChannelMatcher matcher, boolean voidPromise)ChannelGroupFutureChannelGroup. writeAndFlush(java.lang.Object message, ChannelMatcher matcher)Shortcut for callingChannelGroup.write(Object)andChannelGroup.flush()and only act onChannels that are matched by theChannelMatcher.ChannelGroupFutureChannelGroup. writeAndFlush(java.lang.Object message, ChannelMatcher matcher, boolean voidPromise)Shortcut for callingChannelGroup.write(Object, ChannelMatcher, boolean)andChannelGroup.flush()and only act onChannels that are matched by theChannelMatcher.ChannelGroupFutureDefaultChannelGroup. writeAndFlush(java.lang.Object message, ChannelMatcher matcher)ChannelGroupFutureDefaultChannelGroup. writeAndFlush(java.lang.Object message, ChannelMatcher matcher, boolean voidPromise)Constructors in io.netty.channel.group with parameters of type ChannelMatcher Constructor Description CompositeMatcher(ChannelMatcher... matchers)InvertMatcher(ChannelMatcher matcher)
-