de.unkrig.commons.net.ftp
Class FtpServer

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

public class FtpServer
extends java.lang.Object
implements RunnableWhichThrows<java.io.IOException>, Stoppable

See RFC 959: "FILE TRANSFER PROTOCOL (FTP)"


Constructor Summary
FtpServer(java.net.InetSocketAddress endpoint, int backlog, Ftplett ftplett)
           
 
Method Summary
 void run()
          "To run" an instance means to call this method and wait until it returns.
 void stop()
          Returns when this Stoppable has completely stopped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpServer

public FtpServer(java.net.InetSocketAddress endpoint,
                 int backlog,
                 Ftplett ftplett)
          throws java.io.IOException
Throws:
java.io.IOException
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

stop

public void stop()
Description copied from interface: Stoppable
Returns when this Stoppable has completely stopped.

Specified by:
stop in interface Stoppable