Package com.jcraft.jsch
Class Channel.PassiveOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.PipedOutputStream
-
- com.jcraft.jsch.Channel.PassiveOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Enclosing class:
- Channel
class Channel.PassiveOutputStream extends java.io.PipedOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description private Channel.MyPipedInputStream
_sink
-
Constructor Summary
Constructors Constructor Description PassiveOutputStream(java.io.PipedInputStream in, boolean resizable_buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(byte[] b, int off, int len)
void
write(int b)
-
-
-
Field Detail
-
_sink
private Channel.MyPipedInputStream _sink
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException
- Overrides:
write
in classjava.io.PipedOutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
write
in classjava.io.PipedOutputStream
- Throws:
java.io.IOException
-
-