Search in sources :

Example 1 with Listener

use of org.apache.ftpserver.listener.Listener in project ddf by codice.

the class FtpServerStarter method destroyDefaultListener.

private void destroyDefaultListener() {
    Listener defaultListener = getDefaultListener();
    if (!defaultListener.isStopped()) {
        defaultListener.stop();
    }
    ((DefaultFtpServer) server).getListeners().clear();
}
Also used : Listener(org.apache.ftpserver.listener.Listener)

Aggregations

Listener (org.apache.ftpserver.listener.Listener)1