public class ChannelOutputStream extends OutputStream implements Channel
| Constructor and Description |
|---|
ChannelOutputStream(AbstractChannel channel,
Window remoteWindow,
org.slf4j.Logger log,
byte cmd) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
boolean |
isNoDelay() |
boolean |
isOpen() |
void |
setNoDelay(boolean noDelay) |
void |
write(byte[] buf,
int s,
int l) |
void |
write(int w) |
writepublic ChannelOutputStream(AbstractChannel channel, Window remoteWindow, org.slf4j.Logger log, byte cmd)
public void setNoDelay(boolean noDelay)
public boolean isNoDelay()
public void write(int w)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] buf,
int s,
int l)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface Channelclose in class OutputStreamIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.