public interface IoOutputStream extends Closeable
Modifier and Type | Method and Description |
---|---|
IoWriteFuture |
writeBuffer(Buffer buffer)
Write the given buffer.
|
addCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListener
IoWriteFuture writeBuffer(Buffer buffer) throws java.io.IOException
buffer
- the data to write. NOTE: the buffer must not be touched until the returned write
future is completed.IoWriteFuture
that can be used to check when the data has actually been written.java.io.IOException
- if an error occurred when writing the data