V - Result typeA - Attachment typepublic abstract class Nio2CompletionHandler<V,A> extends Object implements CompletionHandler<V,A>
| Modifier | Constructor and Description |
|---|---|
protected |
Nio2CompletionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(V result,
A attachment) |
void |
failed(Throwable exc,
A attachment) |
protected abstract void |
onCompleted(V result,
A attachment) |
protected abstract void |
onFailed(Throwable exc,
A attachment) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.