com.sshtools.j2ssh.connection

Class ChannelOutputStream


public class ChannelOutputStream
extends OutputStream

Version:
$Revision: 1.27 $
Author:
$author$

Constructor Summary

ChannelOutputStream(Channel channel)
Creates a new ChannelOutputStream object.
ChannelOutputStream(Channel channel, Integer type)
Creates a new ChannelOutputStream object.

Method Summary

void
close()
boolean
isClosed()
void
write(byte[] b, int off, int len)
void
write(int b)

Constructor Details

ChannelOutputStream

public ChannelOutputStream(Channel channel)
Creates a new ChannelOutputStream object.
Parameters:
channel -

ChannelOutputStream

public ChannelOutputStream(Channel channel,
                           Integer type)
Creates a new ChannelOutputStream object.
Parameters:
channel -
type -

Method Details

close

public void close()
            throws IOException

isClosed

public boolean isClosed()
Returns:

write

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

write

public void write(int b)
            throws IOException
Parameters:
b -

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