Package com.jcraft.jsch
Class Channel.MyPipedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.PipedInputStream
-
- com.jcraft.jsch.Channel.MyPipedInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Direct Known Subclasses:
Channel.PassiveInputStream
- Enclosing class:
- Channel
class Channel.MyPipedInputStream extends java.io.PipedInputStream
-
-
Field Summary
Fields Modifier and Type Field Description private intBUFFER_SIZEprivate intmax_buffer_size
-
Constructor Summary
Constructors Constructor Description MyPipedInputStream()MyPipedInputStream(int size)MyPipedInputStream(int size, int max_buffer_size)MyPipedInputStream(java.io.PipedOutputStream out)MyPipedInputStream(java.io.PipedOutputStream out, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidcheckSpace(int len)private intfreeSpace()voidupdateReadSide()-
Methods inherited from class java.io.PipedInputStream
available, close, connect, read, read, receive
-
-
-
-
Constructor Detail
-
MyPipedInputStream
MyPipedInputStream() throws java.io.IOException- Throws:
java.io.IOException
-
MyPipedInputStream
MyPipedInputStream(int size) throws java.io.IOException- Throws:
java.io.IOException
-
MyPipedInputStream
MyPipedInputStream(int size, int max_buffer_size) throws java.io.IOException- Throws:
java.io.IOException
-
MyPipedInputStream
MyPipedInputStream(java.io.PipedOutputStream out) throws java.io.IOException- Throws:
java.io.IOException
-
MyPipedInputStream
MyPipedInputStream(java.io.PipedOutputStream out, int size) throws java.io.IOException- Throws:
java.io.IOException
-
-