Package org.eclipse.net4j.channel
Class ChannelOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.net4j.buffer.BufferOutputStream
org.eclipse.net4j.channel.ChannelOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
An
output stream
that fragments the written byte sequence into fixed-sized buffers
and passes them to configured channel
.- Author:
- Eike Stepper
-
Field Summary
Fields inherited from class org.eclipse.net4j.buffer.BufferOutputStream
DEFAULT_PROPAGATE_CLOSE
-
Constructor Summary
ConstructorDescriptionChannelOutputStream
(IChannel channel) ChannelOutputStream
(IChannel channel, IBufferProvider bufferProvider) -
Method Summary
Methods inherited from class org.eclipse.net4j.buffer.BufferOutputStream
close, ensureBuffer, flush, flushWithEOS, flushWithEOS, getError, isPropagateClose, setError, toString, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
ChannelOutputStream
-
ChannelOutputStream
-