Package io.netty.channel.group
Class ChannelMatchers.InstanceMatcher
- java.lang.Object
-
- io.netty.channel.group.ChannelMatchers.InstanceMatcher
-
- All Implemented Interfaces:
ChannelMatcher
- Enclosing class:
- ChannelMatchers
private static final class ChannelMatchers.InstanceMatcher extends java.lang.Object implements ChannelMatcher
-
-
Constructor Summary
Constructors Constructor Description InstanceMatcher(Channel channel)
-
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
-
channel
private final Channel channel
-
-
Constructor Detail
-
InstanceMatcher
InstanceMatcher(Channel channel)
-
-
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
-
-