|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.streams.AbstractStreamWriter.DisposeBufferCompletionHandler
public static class AbstractStreamWriter.DisposeBufferCompletionHandler
| Constructor Summary | |
|---|---|
AbstractStreamWriter.DisposeBufferCompletionHandler(Buffer buffer)
|
|
| Method Summary | |
|---|---|
void |
cancelled(Connection connection)
The I/O operation on the Connection was cancelled. |
void |
completed(Connection connection,
Object result)
The I/O operation on the Connection was completed. |
protected void |
disposeBuffer()
|
void |
failed(Connection connection,
Throwable throwable)
The I/O operation on the Connection was failed. |
void |
updated(Connection connection,
Object result)
The callback method may be called, when there is some progress in I/O 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(Connection connection)
CompletionHandlerConnection was cancelled.
cancelled in interface CompletionHandler
public void failed(Connection connection,
Throwable throwable)
CompletionHandlerConnection was failed.
failed in interface CompletionHandlerthrowable - error, which occurred during I/O operation execution
public void completed(Connection connection,
Object result)
CompletionHandlerConnection was completed.
completed in interface CompletionHandlerresult - the I/O operation result
public void updated(Connection connection,
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 | |||||||||