public static class BlockingWriteCallback.WriteBlocker extends Object implements WriteCallback, Callback, AutoCloseable
Callback.Adapter| Modifier and Type | Method and Description |
|---|---|
void |
block() |
void |
close() |
void |
failed(Throwable x) |
void |
succeeded() |
void |
writeFailed(Throwable x) |
void |
writeSuccess() |
public void writeFailed(Throwable x)
writeFailed in interface WriteCallbackpublic void writeSuccess()
writeSuccess in interface WriteCallbackpublic void close()
throws IOException
close in interface AutoCloseableIOExceptionpublic void block()
throws IOException
IOExceptionCopyright © 1995-2015 Webtide. All Rights Reserved.