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
Channel
s and perform bulk operations on them.-
Uses of ChannelMatcher in io.netty.channel.group
Classes in io.netty.channel.group that implement ChannelMatcherModifier and TypeClassDescriptionprivate static final class
private static final class
private static final class
private static final class
Fields in io.netty.channel.group declared as ChannelMatcherModifier and TypeFieldDescriptionprivate static final ChannelMatcher
ChannelMatchers.ALL_MATCHER
private final ChannelMatcher
ChannelMatchers.InvertMatcher.matcher
private final ChannelMatcher[]
ChannelMatchers.CompositeMatcher.matchers
private static final ChannelMatcher
ChannelMatchers.NON_SERVER_CHANNEL_MATCHER
private static final ChannelMatcher
ChannelMatchers.SERVER_CHANNEL_MATCHER
Methods in io.netty.channel.group that return ChannelMatcherModifier and TypeMethodDescriptionstatic ChannelMatcher
ChannelMatchers.all()
Returns aChannelMatcher
that matches allChannel
s.static ChannelMatcher
ChannelMatchers.compose
(ChannelMatcher... matchers) Return a composite of the givenChannelMatcher
s.static ChannelMatcher
ChannelMatchers.invert
(ChannelMatcher matcher) Invert the givenChannelMatcher
.static ChannelMatcher
Returns aChannelMatcher
that matches the givenChannel
.static ChannelMatcher
ChannelMatchers.isInstanceOf
(Class<? extends Channel> clazz) Returns aChannelMatcher
that matches allChannel
s that are an instance of sub-type of the given class.static ChannelMatcher
ChannelMatchers.isNonServerChannel()
static ChannelMatcher
Returns aChannelMatcher
that matches allChannel
s except the given.static ChannelMatcher
ChannelMatchers.isNotInstanceOf
(Class<? extends Channel> clazz) Returns aChannelMatcher
that matches allChannel
s that are not an instance of sub-type of the given class.static ChannelMatcher
ChannelMatchers.isServerChannel()
Methods in io.netty.channel.group with parameters of type ChannelMatcherModifier and TypeMethodDescriptionChannelGroup.close
(ChannelMatcher matcher) Closes allChannel
s in this group that are matched by the givenChannelMatcher
.DefaultChannelGroup.close
(ChannelMatcher matcher) static ChannelMatcher
ChannelMatchers.compose
(ChannelMatcher... matchers) Return a composite of the givenChannelMatcher
s.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 allChannel
s in this group from their remote peers, that are matched by the givenChannelMatcher
.DefaultChannelGroup.disconnect
(ChannelMatcher matcher) ChannelGroup.flush
(ChannelMatcher matcher) Flush allChannel
s 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 ChannelMatcher
ChannelMatchers.invert
(ChannelMatcher matcher) Invert the givenChannelMatcher
.ChannelGroup.newCloseFuture
(ChannelMatcher matcher) Returns theChannelGroupFuture
which will be notified when allChannel
s that are part of thisChannelGroup
, at the time of calling, are closed.DefaultChannelGroup.newCloseFuture
(ChannelMatcher matcher) ChannelGroup.write
(Object message, ChannelMatcher matcher) Writes the specifiedmessage
to allChannel
s in this group that are matched by the givenChannelMatcher
.ChannelGroup.write
(Object message, ChannelMatcher matcher, boolean voidPromise) Writes the specifiedmessage
to allChannel
s 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 onChannel
s 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 onChannel
s that are matched by theChannelMatcher
.DefaultChannelGroup.writeAndFlush
(Object message, ChannelMatcher matcher) DefaultChannelGroup.writeAndFlush
(Object message, ChannelMatcher matcher, boolean voidPromise) Constructors in io.netty.channel.group with parameters of type ChannelMatcherModifierConstructorDescription(package private)
CompositeMatcher
(ChannelMatcher... matchers) (package private)
InvertMatcher
(ChannelMatcher matcher)