com.myjavaworld.ftp
Interface FTPConnectionListener

All Superinterfaces:
java.util.EventListener

public interface FTPConnectionListener
extends java.util.EventListener

A contract for implementations of FTPConnectionListeners. These listeners will be notified when a connection is opened or closed.

Version:
2.0
Author:
Sai Pullabhotla, psai [at] jMethods [dot] com

Method Summary
 void connectionClosed(FTPConnectionEvent evt)
          Called when the connection is closed.
 void connectionOpened(FTPConnectionEvent evt)
          Called when a connection is opened.
 

Method Detail

connectionOpened

void connectionOpened(FTPConnectionEvent evt)
Called when a connection is opened.

Parameters:
evt - connection event.

connectionClosed

void connectionClosed(FTPConnectionEvent evt)
Called when the connection is closed.

Parameters:
evt - connection event.