IoOutputStream using a synchronous ChannelOutputStream.
| Modifier and Type | Class and Description |
|---|---|
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final ChannelOutputStream |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doCloseImmediately()
Overrides org. doCloseImmediately is called once and only once with state == Immediate Overriding methods should always call the base implementation. |
| public IoWriteFuture | writeBuffer(Buffer
the data to write buffer)Note the buffer must not be touched until the returned write future is completed. Implements org. Write the given buffer. |
| os | back to summary |
|---|---|
| protected final ChannelOutputStream os | |
| SimpleIoOutputStream | back to summary |
|---|---|
| public SimpleIoOutputStream(ChannelOutputStream os) | |
| doCloseImmediately | back to summary |
|---|---|
| protected void doCloseImmediately() Overrides org. Doc from org. doCloseImmediately is called once and only once with state == Immediate Overriding methods should always call the base implementation. It may be called concurrently while preClose() or doCloseGracefully is executing
| |
| writeBuffer | back to summary |
|---|---|
| public IoWriteFuture writeBuffer(Buffer buffer) throws IOException Implements org. Doc from org. Write the given buffer.
| |
| Access | Constructor and Description |
|---|---|
| public |
| DefaultIoWriteFuture | back to summary |
|---|---|
| public DefaultIoWriteFuture(Object id, Object lock) | |