com.sshtools.j2ssh.connection

Class ChannelInputStream


public class ChannelInputStream
extends InputStream

Version:
$Revision: 1.35 $
Author:
$author$

Constructor Summary

ChannelInputStream(SshMessageStore messageStore)
Creates a new ChannelInputStream object.
ChannelInputStream(SshMessageStore messageStore, Integer type)
Creates a new ChannelInputStream object.

Method Summary

int
available()
void
close()
void
interrupt()
boolean
isClosed()
int
read()
int
read(byte[] b, int off, int len)
void
setBlockInterrupt(int interrupt)

Constructor Details

ChannelInputStream

public ChannelInputStream(SshMessageStore messageStore)
Creates a new ChannelInputStream object.
Parameters:
messageStore -

ChannelInputStream

public ChannelInputStream(SshMessageStore messageStore,
                          Integer type)
Creates a new ChannelInputStream object.
Parameters:
messageStore -
type -

Method Details

available

public int available()
Returns:

close

public void close()
            throws IOException

interrupt

public void interrupt()

isClosed

public boolean isClosed()
Returns:

read

public int read()
            throws IOException
Returns:

read

public int read(byte[] b,
                int off,
                int len)
            throws IOException
Parameters:
b -
off -
len -
Returns:

setBlockInterrupt

public void setBlockInterrupt(int interrupt)
Parameters:
interrupt -

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.