org.apache.sshd.common.channel
Class ChannelPipedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.sshd.common.channel.ChannelPipedInputStream
All Implemented Interfaces:
Closeable

public class ChannelPipedInputStream
extends InputStream

TODO Add javadoc

Author:
Apache MINA SSHD Project

Constructor Summary
ChannelPipedInputStream(Window localWindow)
           
 
Method Summary
 int available()
           
 void close()
           
protected  void eof()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void receive(byte[] bytes, int off, int len)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelPipedInputStream

public ChannelPipedInputStream(Window localWindow)
Method Detail

available

public int available()
              throws IOException
Overrides:
available in class InputStream
Throws:
IOException

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class InputStream
Throws:
IOException

eof

protected void eof()

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class InputStream
Throws:
IOException

receive

public void receive(byte[] bytes,
                    int off,
                    int len)
             throws IOException
Throws:
IOException


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.