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();
}
Aggregations