public class ChannelOutputStream extends OutputStream implements io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<? super Void>>
| Constructor and Description |
|---|
ChannelOutputStream(io.netty.channel.Channel channel,
ChannelOutputStreamListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
operationComplete(io.netty.util.concurrent.Future<? super Void> future) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
writepublic ChannelOutputStream(io.netty.channel.Channel channel,
ChannelOutputStreamListener listener)
public void write(int b)
write in class OutputStreampublic void write(byte[] b,
int off,
int len)
write in class OutputStreampublic void flush()
flush in interface Flushableflush in class OutputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.