Package com.jcraft.jsch
Class Channel.MyPipedInputStream
java.lang.Object
java.io.InputStream
java.io.PipedInputStream
com.jcraft.jsch.Channel.MyPipedInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
Channel.PassiveInputStream
- Enclosing class:
Channel
-
Field Summary
FieldsFields inherited from class java.io.PipedInputStream
buffer, in, out, PIPE_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionMyPipedInputStream
(int size) MyPipedInputStream
(int size, int max_buffer_size) MyPipedInputStream
(PipedOutputStream out, int size) -
Method Summary
Methods inherited from class java.io.PipedInputStream
available, close, connect, read, read, receive
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
BUFFER_SIZE
private int BUFFER_SIZE -
max_buffer_size
private int max_buffer_size
-
-
Constructor Details
-
MyPipedInputStream
MyPipedInputStream() throws IOException- Throws:
IOException
-
MyPipedInputStream
MyPipedInputStream(int size) throws IOException - Throws:
IOException
-
MyPipedInputStream
MyPipedInputStream(int size, int max_buffer_size) throws IOException - Throws:
IOException
-
MyPipedInputStream
MyPipedInputStream(PipedOutputStream out) throws IOException - Throws:
IOException
-
MyPipedInputStream
MyPipedInputStream(PipedOutputStream out, int size) throws IOException - Throws:
IOException
-
-
Method Details
-
updateReadSide
- Throws:
IOException
-
freeSpace
private int freeSpace() -
checkSpace
- Throws:
IOException
-