Class ChannelOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.infinispan.hotrod.impl.protocol.ChannelOutputStream
-
- All Implemented Interfaces:
io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<? super Void>>,Closeable,Flushable,AutoCloseable,EventListener
public class ChannelOutputStream extends OutputStream implements io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<? super Void>>
-
-
Constructor Summary
Constructors Constructor Description ChannelOutputStream(io.netty.channel.Channel channel, ChannelOutputStreamListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidoperationComplete(io.netty.util.concurrent.Future<? super Void> future)voidwrite(byte[] b, int off, int len)voidwrite(int b)-
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
-
-
-
Constructor Detail
-
ChannelOutputStream
public ChannelOutputStream(io.netty.channel.Channel channel, ChannelOutputStreamListener listener)
-
-
Method Detail
-
write
public void write(int b)
- Specified by:
writein classOutputStream
-
write
public void write(byte[] b, int off, int len)- Overrides:
writein classOutputStream
-
flush
public void flush()
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
-