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 int
BUFFER_SIZE
private int
max_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) void
checkSpace(int len)
private int
freeSpace()
void
updateReadSide()
-
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
-
-