Package org.xnio.channels
Class WriteListenerSettable.Setter<C extends Channel>
java.lang.Object
org.xnio.channels.WriteListenerSettable.Setter<C>
- Type Parameters:
C- the channel type
- All Implemented Interfaces:
ChannelListener.Setter<C>
- Enclosing interface:
- WriteListenerSettable<C extends Channel>
public static class WriteListenerSettable.Setter<C extends Channel>
extends Object
implements ChannelListener.Setter<C>
A channel listener setter implementation which delegates to the appropriate setter method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidset(ChannelListener<? super C> listener) Set the listener, ornullto ignore the associated event type.
-
Constructor Details
-
Setter
Construct a new instance.- Parameters:
settable- the settable to delegate to
-
-
Method Details
-
set
Description copied from interface:ChannelListener.SetterSet the listener, ornullto ignore the associated event type.- Specified by:
setin interfaceChannelListener.Setter<C extends Channel>- Parameters:
listener- the new listener
-