T
- the channel typepublic static interface ChannelListener.Setter<T extends java.nio.channels.Channel>
Modifier and Type | Method and Description |
---|---|
void |
set(ChannelListener<? super T> listener)
Set the listener, or
null to ignore the associated event type. |
void set(ChannelListener<? super T> listener)
null
to ignore the associated event type.listener
- the new listenerCopyright © 2016 JBoss, a division of Red Hat, Inc.