Class Nio2CompletionHandler<V,A>

java.lang.Object
org.apache.sshd.common.io.nio2.Nio2CompletionHandler<V,A>
Type Parameters:
V - Result type
A - Attachment type
All Implemented Interfaces:
CompletionHandler<V,A>
Direct Known Subclasses:
Nio2Acceptor.AcceptCompletionHandler, Nio2Connector.ConnectionCompletionHandler

public abstract class Nio2CompletionHandler<V,A> extends Object implements CompletionHandler<V,A>
Author:
Apache MINA SSHD Project
  • Constructor Details

    • Nio2CompletionHandler

      protected Nio2CompletionHandler()
  • Method Details

    • completed

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

      public void failed(Throwable exc, A attachment)
      Specified by:
      failed in interface CompletionHandler<V,A>
    • onCompleted

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

      protected abstract void onFailed(Throwable exc, A attachment)