public class ChannelOutputStream extends OutputStream
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() |
void |
setNoDelay(boolean noDelay) |
void |
write(byte[] buf,
int s,
int l) |
void |
write(int w) |
write
public 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 OutputStream
IOException
public void write(byte[] buf, int s, int l) throws IOException
write
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.