|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CompletionHandler<E>
Interface, which will be used by Grizzly to notify about asynchronous I/O operations status updates.
Method Summary | |
---|---|
void |
cancelled()
The operation was cancelled. |
void |
completed(E result)
The operation was completed. |
void |
failed(Throwable throwable)
The operation was failed. |
void |
updated(E result)
The callback method may be called, when there is some progress in operation execution, but it is still not completed |
Method Detail |
---|
void cancelled()
void failed(Throwable throwable)
throwable
- error, which occurred during operation executionvoid completed(E result)
result
- the operation resultvoid updated(E result)
result
- the current result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |