Module 

Class WriteListenerSettable.Setter<C extends java.nio.channels.Channel>

  • Type Parameters:
    C - the channel type
    All Implemented Interfaces:
    ChannelListener.Setter<C>
    Enclosing interface:
    WriteListenerSettable<C extends java.nio.channels.Channel>

    public static class WriteListenerSettable.Setter<C extends java.nio.channels.Channel>
    extends java.lang.Object
    implements ChannelListener.Setter<C>
    A channel listener setter implementation which delegates to the appropriate setter method.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void set​(ChannelListener<? super C> listener)
      Set the listener, or null to ignore the associated event type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Setter

        public Setter​(WriteListenerSettable<C> settable)
        Construct a new instance.
        Parameters:
        settable - the settable to delegate to
    • Method Detail