Class Nio2CompletionHandler<V,​A>

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void completed​(V result, A attachment)  
      void failed​(java.lang.Throwable exc, A attachment)  
      protected abstract void onCompleted​(V result, A attachment)  
      protected abstract void onFailed​(java.lang.Throwable exc, A attachment)  
      • Methods inherited from class java.lang.Object

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

      • Nio2CompletionHandler

        protected Nio2CompletionHandler()
    • Method Detail

      • completed

        public void completed​(V result,
                              A attachment)
        Specified by:
        completed in interface java.nio.channels.CompletionHandler<V,​A>
      • failed

        public void failed​(java.lang.Throwable exc,
                           A attachment)
        Specified by:
        failed in interface java.nio.channels.CompletionHandler<V,​A>
      • onCompleted

        protected abstract void onCompleted​(V result,
                                            A attachment)
      • onFailed

        protected abstract void onFailed​(java.lang.Throwable exc,
                                         A attachment)