|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.streams.AbstractStreamWriter.DisposeBufferCompletionHandler
public static class AbstractStreamWriter.DisposeBufferCompletionHandler
| Constructor Summary | |
|---|---|
AbstractStreamWriter.DisposeBufferCompletionHandler(Buffer buffer)
|
|
| Method Summary | |
|---|---|
void |
cancelled()
The operation was cancelled. |
void |
completed(java.lang.Object result)
The operation was completed. |
protected void |
disposeBuffer()
|
void |
failed(java.lang.Throwable throwable)
The operation was failed. |
void |
updated(java.lang.Object result)
The callback method may be called, when there is some progress in operation execution, but it is still not completed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractStreamWriter.DisposeBufferCompletionHandler(Buffer buffer)
| Method Detail |
|---|
public void cancelled()
CompletionHandler
cancelled in interface CompletionHandlerpublic void failed(java.lang.Throwable throwable)
CompletionHandler
failed in interface CompletionHandlerthrowable - error, which occurred during operation executionpublic void completed(java.lang.Object result)
CompletionHandler
completed in interface CompletionHandlerresult - the operation resultpublic void updated(java.lang.Object result)
CompletionHandler
updated in interface CompletionHandlerresult - the current resultprotected void disposeBuffer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||