| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | completed(V
The result of the I/O operation. result, A The object attached to the I/O operation when it was initiated. attachment)Implements java. Invoked when an operation has completed. |
| public void | failed(Throwable
The exception to indicate why the I/O operation failed exc, A The object attached to the I/O operation when it was initiated. attachment)Implements java. Invoked when an operation fails. |
| protected abstract void | |
| protected abstract void |
| Nio2CompletionHandler | back to summary |
|---|---|
| protected Nio2CompletionHandler() | |
| completed | back to summary |
|---|---|
| public void completed(V result, A attachment) Implements java. Doc from java. Invoked when an operation has completed.
| |
| failed | back to summary |
|---|---|
| public void failed(Throwable exc, A attachment) Implements java. Doc from java. Invoked when an operation fails. | |
| onCompleted | back to summary |
|---|---|
| protected abstract void onCompleted(V result, A attachment) | |
| onFailed | back to summary |
|---|---|
| protected abstract void onFailed(Throwable exc, A attachment) | |