com.mindbright.ssh2
Class SSH2FTPProxyFilter

java.lang.Object
  |
  +--com.mindbright.ssh2.SSH2FTPProxyFilter
All Implemented Interfaces:
SSH2StreamFilter, SSH2StreamFilterFactory

public class SSH2FTPProxyFilter
extends java.lang.Object
implements SSH2StreamFilter, SSH2StreamFilterFactory


Field Summary
protected  SSH2StreamChannel channel
           
protected  SSH2Connection connection
           
protected  com.mindbright.ssh2.SSH2FTPProxyFilter.FTPInput ftpIn
           
protected  com.mindbright.ssh2.SSH2FTPProxyFilter.FTPOutput ftpOut
           
protected  boolean waitingPASVResponse
           
 
Constructor Summary
  SSH2FTPProxyFilter(java.net.InetAddress localHost, java.net.InetAddress serverLocalAddr)
          Factory instance constructor
protected SSH2FTPProxyFilter(SSH2Connection connection, SSH2StreamChannel channel, SSH2FTPProxyFilter factory)
           
  SSH2FTPProxyFilter(java.lang.String localHost, java.lang.String serverLocalAddr)
          Factory instance constructor
 
Method Summary
 SSH2StreamFilter createFilter(SSH2Connection connection, SSH2StreamChannel channel)
           
 java.io.InputStream getInputFilter(java.io.InputStream toBeFiltered)
           
 java.io.OutputStream getOutputFilter(java.io.OutputStream toBeFiltered)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connection

protected SSH2Connection connection

channel

protected SSH2StreamChannel channel

ftpIn

protected com.mindbright.ssh2.SSH2FTPProxyFilter.FTPInput ftpIn

ftpOut

protected com.mindbright.ssh2.SSH2FTPProxyFilter.FTPOutput ftpOut

waitingPASVResponse

protected volatile boolean waitingPASVResponse
Constructor Detail

SSH2FTPProxyFilter

public SSH2FTPProxyFilter(java.lang.String localHost,
                          java.lang.String serverLocalAddr)
                   throws java.net.UnknownHostException
Factory instance constructor


SSH2FTPProxyFilter

public SSH2FTPProxyFilter(java.net.InetAddress localHost,
                          java.net.InetAddress serverLocalAddr)
Factory instance constructor


SSH2FTPProxyFilter

protected SSH2FTPProxyFilter(SSH2Connection connection,
                             SSH2StreamChannel channel,
                             SSH2FTPProxyFilter factory)
Method Detail

createFilter

public SSH2StreamFilter createFilter(SSH2Connection connection,
                                     SSH2StreamChannel channel)
Specified by:
createFilter in interface SSH2StreamFilterFactory

getInputFilter

public java.io.InputStream getInputFilter(java.io.InputStream toBeFiltered)
Specified by:
getInputFilter in interface SSH2StreamFilter

getOutputFilter

public java.io.OutputStream getOutputFilter(java.io.OutputStream toBeFiltered)
Specified by:
getOutputFilter in interface SSH2StreamFilter