protected void removeConnection ( FTPConnection con ) throws IOException { synchronized ( listeners ) { for ( IFTPListener l : listeners ) { l . onDisconnected ( con ) ; } } synchronized ( connections ) { connections . remove ( con ) ; } }
Called when a connection is terminated