it.sauronsoftware.ftp4j
Interface FTPCommunicationListener


public interface FTPCommunicationListener

This interface describes how to build objects used to intercept any communication between the client and the server. It is useful to catch what happens behind. A FTPCommunicationListener can be added to any FTPClient object by calling its addCommunicationListener() method.

Author:
Carlo Pelliccia
See Also:
FTPClient.addCommunicationListener(FTPCommunicationListener)

Method Summary
 void received(java.lang.String statement)
          Called every time a telnet statement is received by the client.
 void sent(java.lang.String statement)
          Called every time a telnet statement has been sent over the network to the remote FTP server.
 

Method Detail

sent

void sent(java.lang.String statement)
Called every time a telnet statement has been sent over the network to the remote FTP server.

Parameters:
statement - The statement that has been sent.

received

void received(java.lang.String statement)
Called every time a telnet statement is received by the client.

Parameters:
statement - The received statement.