Package org.apache.sshd.common.channel
Class ChannelPipedOutputStream
java.lang.Object
java.io.OutputStream
org.apache.sshd.common.channel.ChannelPipedOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,Channel
TODO Add javadoc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]private booleanprivate final ChannelPipedSink -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
write
-
Field Details
-
sink
-
b
private final byte[] b -
closed
private boolean closed
-
-
Constructor Details
-
ChannelPipedOutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
isOpen
public boolean isOpen() -
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-