public class FtpServer extends Object implements RunnableWhichThrows<IOException>, Stoppable
| Constructor and Description |
|---|
FtpServer(InetSocketAddress endpoint,
int backlog,
Ftplett ftplett)
This
FtpServer will accept connections and run a new FtpSession with the given
Ftplett. |
public FtpServer(InetSocketAddress endpoint, int backlog, Ftplett ftplett) throws IOException
FtpServer will accept connections and run a new FtpSession with the given
Ftplett.endpoint - The InetAddress and local port the server will bind to; InetSocketAddress.InetSocketAddress(int) will accept connections on any/all local addresses;
port number zero will pick an ephemeral portIOExceptionpublic void run()
throws IOException
run in interface RunnableWhichThrows<IOException>IOExceptionCopyright © 2016 Arno Unkrig. All rights reserved.