public class ChannelInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
ChannelInputStream(SshMessageStore messageStore)
Creates a new ChannelInputStream object.
|
ChannelInputStream(SshMessageStore messageStore,
java.lang.Integer type)
Creates a new ChannelInputStream object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
interrupt() |
boolean |
isClosed() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
setBlockInterrupt(int interrupt) |
public ChannelInputStream(SshMessageStore messageStore, java.lang.Integer type)
messageStore - type - public ChannelInputStream(SshMessageStore messageStore)
messageStore - public int available()
available in class java.io.InputStreampublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic boolean isClosed()
public void setBlockInterrupt(int interrupt)
interrupt - public void interrupt()
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionjava.io.InterruptedIOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamb - off - len - java.io.IOExceptionjava.io.IOExceptionCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.