Uses of Interface
io.netty5.channel.group.ChannelMatcher
-
Packages that use ChannelMatcher Package Description io.netty5.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.netty5.channel.group
Methods in io.netty5.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(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(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.netty5.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(Object message, ChannelMatcher matcher)Deprecated.UseChannelGroup.writeAndFlush(Object, ChannelMatcher)instead.ChannelGroupFutureDefaultChannelGroup. flushAndWrite(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(Object message, ChannelMatcher matcher)Writes the specifiedmessageto allChannels in this group that are matched by the givenChannelMatcher.ChannelGroupFutureDefaultChannelGroup. write(Object message, ChannelMatcher matcher)ChannelGroupFutureChannelGroup. writeAndFlush(Object message, ChannelMatcher matcher)Shortcut for callingChannelGroup.write(Object)andChannelGroup.flush()and only act onChannels that are matched by theChannelMatcher.ChannelGroupFutureDefaultChannelGroup. writeAndFlush(Object message, ChannelMatcher matcher)
-