C
- the channel typepublic static class WriteListenerSettable.Setter<C extends java.nio.channels.Channel> extends java.lang.Object implements ChannelListener.Setter<C>
Constructor and Description |
---|
Setter(WriteListenerSettable<C> settable)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
set(ChannelListener<? super C> listener)
Set the listener, or
null to ignore the associated event type. |
public Setter(WriteListenerSettable<C> settable)
settable
- the settable to delegate topublic void set(ChannelListener<? super C> listener)
ChannelListener.Setter
null
to ignore the associated event type.set
in interface ChannelListener.Setter<C extends java.nio.channels.Channel>
listener
- the new listenerCopyright © 2016 JBoss, a division of Red Hat, Inc.