gnu.inet.ftp
Interface ConnectionEventSource
- All Known Implementing Classes:
- FtpClient, Getter, HylaFAXClient, Putter
- public interface ConnectionEventSource
addConnectionListener
public void addConnectionListener(ConnectionListener listener)
- register a connection listener with the event source. Each
ConnectionListener registered with the event source will be
notified when a connection event occurs.
- Parameters:
listener - the ConnectionListener to register with the event source
addConnectionListeners
public void addConnectionListeners(java.util.Vector listeners)
- register a set of connection listenesr with the event source. Each
ConnectionListener registered with the event source will be
notified when a connection event occurs.
- Parameters:
listeners - the ConnectionListeners to register with the event source
removeConnectionListener
public void removeConnectionListener(ConnectionListener listener)
- deregister a connection listener with the event source. Once a
listener has been de-registered, it should not receive any
more connection events.
- Parameters:
listener - the ConnectionListener to de-register