de.unkrig.commons.net.ftp
Class FtpSession

java.lang.Object
  extended by de.unkrig.commons.net.ftp.FtpSession
All Implemented Interfaces:
RunnableWhichThrows<java.io.IOException>

public class FtpSession
extends java.lang.Object
implements RunnableWhichThrows<java.io.IOException>

Representation of one FTP session, i.e. control connection and its state.


Constructor Summary
FtpSession(java.io.InputStream controlIn, java.io.OutputStream controlOut, java.net.InetSocketAddress controlLocalSocketAddress, java.net.InetAddress controlRemoteAddress, Ftplett ftplett)
           
 
Method Summary
 void run()
          "To run" an instance means to call this method and wait until it returns.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpSession

public FtpSession(java.io.InputStream controlIn,
                  java.io.OutputStream controlOut,
                  java.net.InetSocketAddress controlLocalSocketAddress,
                  java.net.InetAddress controlRemoteAddress,
                  Ftplett ftplett)
Method Detail

run

public void run()
         throws java.io.IOException
Description copied from interface: RunnableWhichThrows
"To run" an instance means to call this method and wait until it returns.

Specified by:
run in interface RunnableWhichThrows<java.io.IOException>
Throws:
java.io.IOException