Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.finj
Interface FTPClientObserver  view FTPClientObserver download FTPClientObserver.java

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
FTPClientAdapter

public interface FTPClientObserver
extends java.util.EventListener

Instances of this observer receive notifications of the progress of the work of an FTPClient to which they have to be registered.

Version:
$Id$

Method Summary
 void commandSent(java.lang.String command)
          Method called when a command has been sent to the FTP server.
 void controlConnectionClosed()
          Method called whenever a new connection is closed with a server.
 void controlConnectionOpened()
          Method called whenever a new connection is opened with a server.
 void dataReceived(int bytes)
          Method called whenever data is received from the FTP server.
 void dataSent(int bytes)
          Method called whenever data is sent to the FTP server.
 void isObserving(boolean isIt)
          Method called by an FTPClient when this is added or removed as an observer.
 void replyReceived(FTPReply reply)
          Method called when a reply is received from the FTP server.
 

Method Detail

isObserving

public void isObserving(boolean isIt)
Method called by an FTPClient when this is added or removed as an observer. [API DISCUSSION : Do you think this is useless ?]

Since:
v1.0

controlConnectionOpened

public void controlConnectionOpened()
Method called whenever a new connection is opened with a server.

Since:
v1.0

controlConnectionClosed

public void controlConnectionClosed()
Method called whenever a new connection is closed with a server.

Since:
v1.0

commandSent

public void commandSent(java.lang.String command)
Method called when a command has been sent to the FTP server.

Since:
v1.0

replyReceived

public void replyReceived(FTPReply reply)
Method called when a reply is received from the FTP server.

Since:
v1.0

dataReceived

public void dataReceived(int bytes)
Method called whenever data is received from the FTP server. This is a convenient way to monitor the work of the FTPClient.

Since:
v1.0

dataSent

public void dataSent(int bytes)
Method called whenever data is sent to the FTP server. This is a convenient way to monitor the work of the FTPClient.

Since:
v1.0