gnu.inet.ftp
Interface ConnectionListener
- All Superinterfaces:
- java.util.EventListener
- public interface ConnectionListener
- extends java.util.EventListener
connectionOpened
public void connectionOpened(ConnectionEvent event)
- called when a connection has been opened
- Parameters:
event - data for the connection open event
connectionClosed
public void connectionClosed(ConnectionEvent event)
- called when a connection has been closed
- Parameters:
event - data for the connection close event
connectionFailed
public void connectionFailed(java.lang.Exception exception)
- called when an error occurs while setting up the connection
- Parameters:
exception - the exception that was thrown