public class ChannelAsyncOutputStream extends CloseableUtils.AbstractCloseable implements IoOutputStream
Modifier and Type | Class and Description |
---|---|
static class |
ChannelAsyncOutputStream.IoWriteFutureImpl |
CloseableUtils.AbstractCloseable.State
closeFuture, lock, log, state
Constructor and Description |
---|
ChannelAsyncOutputStream(Channel channel,
byte cmd) |
Modifier and Type | Method and Description |
---|---|
protected CloseFuture |
doCloseGracefully() |
protected void |
doWriteIfPossible(boolean resume) |
void |
onWindowExpanded() |
String |
toString() |
IoWriteFuture |
write(Buffer buffer)
NOTE: the buffer must not be touched until the returned write future is completed.
|
builder, close, doCloseImmediately, isClosed, isClosing, preClose
public ChannelAsyncOutputStream(Channel channel, byte cmd)
public void onWindowExpanded() throws IOException
IOException
public IoWriteFuture write(Buffer buffer)
IoOutputStream
write
in interface IoOutputStream
protected CloseFuture doCloseGracefully()
doCloseGracefully
in class CloseableUtils.AbstractCloseable
protected void doWriteIfPossible(boolean resume)
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.