org.apache.ftpserver
Interface FtpServer

All Known Implementing Classes:
DefaultFtpServer

public interface FtpServer

This is the starting point of all the servers. It invokes a new listener thread. Server implementation is used to create the server socket and handle client connection.

Version:
$Rev: 701885 $, $Date: 2008-10-05 22:51:37 +0200 (Sun, 05 Oct 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Method Summary
 boolean isStopped()
          Get the server status.
 boolean isSuspended()
          Is the server suspended
 void resume()
          Resume the server handler
 void start()
          Start the server.
 void stop()
          Stop the server.
 void suspend()
          Suspend further requests
 

Method Detail

start

void start()
           throws FtpException
Start the server. Open a new listener thread.

Throws:
FtpException

stop

void stop()
Stop the server. Stop the listener thread.


isStopped

boolean isStopped()
Get the server status.

Returns:
true if the server is stopped

suspend

void suspend()
Suspend further requests


resume

void resume()
Resume the server handler


isSuspended

boolean isSuspended()
Is the server suspended

Returns:
true if the server is suspended


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.