public final class ChainedChannelListener<T extends Channel> extends Object implements ChannelListener<T>
ChannelListener.Setter<T extends Channel>, ChannelListener.SimpleSetter<T extends Channel>
Constructor and Description |
---|
ChainedChannelListener(ChannelListener<? super T>... listeners)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(T channel)
Handle the event on this channel.
|
public ChainedChannelListener(ChannelListener<? super T>... listeners)
listeners
- the listeners to chain topublic void handleEvent(T channel)
ChannelListener
handleEvent
in interface ChannelListener<T extends Channel>
channel
- the channel eventCopyright © 2017 JBoss by Red Hat. All rights reserved.