public void addCommunicationListener(FTPCommunicationListener listener){
  communicationListeners.add(listener);
}

public void addCommunicationListener ( FTPCommunicationListener listener ) { communicationListeners . add ( listener ) ; }
this method adds a ftpcommunicationlistener to the object .
