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 boolean
private final ChannelPipedSink
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Field Details
-
sink
-
b
private final byte[] b -
closed
private boolean closed
-
-
Constructor Details
-
ChannelPipedOutputStream
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
isOpen
public boolean isOpen() -
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-