public interface EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
bytesTransferred(java.lang.String connId,
java.lang.String remoteFilename,
long count)
Report the number of bytes transferred so far.
|
void |
commandSent(java.lang.String connId,
java.lang.String cmd)
Log an FTP command being sent to the server.
|
void |
downloadCompleted(java.lang.String connId,
java.lang.String remoteFilename)
Notifies that a download has completed
|
void |
downloadStarted(java.lang.String connId,
java.lang.String remoteFilename)
Notifies that a download has started
|
void |
replyReceived(java.lang.String connId,
java.lang.String reply)
Log an FTP reply being sent back to the client.
|
void |
uploadCompleted(java.lang.String connId,
java.lang.String remoteFilename)
Notifies that an upload has completed
|
void |
uploadStarted(java.lang.String connId,
java.lang.String remoteFilename)
Notifies that an upload has started
|
void commandSent(java.lang.String connId,
java.lang.String cmd)
cmd - command stringvoid replyReceived(java.lang.String connId,
java.lang.String reply)
reply - reply stringvoid bytesTransferred(java.lang.String connId,
java.lang.String remoteFilename,
long count)
count - count of bytes transferredvoid downloadStarted(java.lang.String connId,
java.lang.String remoteFilename)
remoteFilename - remote file namevoid downloadCompleted(java.lang.String connId,
java.lang.String remoteFilename)
remoteFilename - remote file namevoid uploadStarted(java.lang.String connId,
java.lang.String remoteFilename)
remoteFilename - remote file namevoid uploadCompleted(java.lang.String connId,
java.lang.String remoteFilename)
remoteFilename - remote file name