Class SimpleFutureListener<V>

  • All Implemented Interfaces:
    io.netty.util.concurrent.FutureListener<V>, io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<V>>, EventListener

    public abstract class SimpleFutureListener<V>
    extends Object
    implements io.netty.util.concurrent.FutureListener<V>
    • Constructor Detail

      • SimpleFutureListener

        public SimpleFutureListener()
    • Method Detail

      • operationComplete

        public final void operationComplete​(io.netty.util.concurrent.Future<V> future)
                                     throws Exception
        Specified by:
        operationComplete in interface io.netty.util.concurrent.GenericFutureListener<V>
        Throws:
        Exception
      • onSuccess

        protected abstract void onSuccess​(V value)
                                   throws Exception
        Throws:
        Exception