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.InputStream
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
public boolean isClosed()
public void setBlockInterrupt(int interrupt)
interrupt
- public void interrupt()
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
java.io.InterruptedIOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
b
- off
- len
- java.io.IOException
java.io.IOException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.