Package io.netty.channel.group
Class ChannelMatchers.ClassMatcher
- java.lang.Object
-
- io.netty.channel.group.ChannelMatchers.ClassMatcher
-
- All Implemented Interfaces:
ChannelMatcher
- Enclosing class:
- ChannelMatchers
private static final class ChannelMatchers.ClassMatcher extends java.lang.Object implements ChannelMatcher
-
-
Constructor Summary
Constructors Constructor Description ClassMatcher(java.lang.Class<? extends Channel> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(Channel ch)
Returnstrue
if the operation should be also executed on the givenChannel
.
-
-
-
Field Detail
-
clazz
private final java.lang.Class<? extends Channel> clazz
-
-
Constructor Detail
-
ClassMatcher
ClassMatcher(java.lang.Class<? extends Channel> clazz)
-
-
Method Detail
-
matches
public boolean matches(Channel ch)
Description copied from interface:ChannelMatcher
Returnstrue
if the operation should be also executed on the givenChannel
.- Specified by:
matches
in interfaceChannelMatcher
-
-