Secure iNet Factory

com.jscape.inet.ssh.connection.channels
Class ChannelInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.jscape.inet.ssh.connection.channels.ChannelInputStream
All Implemented Interfaces:
java.io.Closeable

public class ChannelInputStream
extends java.io.InputStream

Author:
Alex Usun

Constructor Summary
ChannelInputStream(IncomingWindow window)
           
 
Method Summary
 int available()
           
 void close()
           
 void putData(byte[] data)
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 java.lang.String toString()
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelInputStream

public ChannelInputStream(IncomingWindow window)
Method Detail

putData

public void putData(byte[] data)
             throws java.lang.Exception
Throws:
java.lang.Exception

available

public int available()
Overrides:
available in class java.io.InputStream

read

public int read()
Specified by:
read in class java.io.InputStream

read

public int read(byte[] b,
                int off,
                int len)
Overrides:
read in class java.io.InputStream

close

public void close()
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved