|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventListener
Listens for interesting file transfer events.
| Method Summary | |
|---|---|
void |
bytesTransferred(long count)
Report the number of bytes transferred so far. |
void |
commandSent(java.lang.String cmd)
Log an FTP command being sent to the server. |
void |
downloadCompleted(java.lang.String remoteFilename)
Notifies that a download has completed |
void |
downloadStarted(java.lang.String remoteFilename)
Notifies that a download has started |
void |
replyReceived(java.lang.String reply)
Log an FTP reply being sent back to the client. |
void |
uploadCompleted(java.lang.String remoteFilename)
Notifies that an upload has completed |
void |
uploadStarted(java.lang.String remoteFilename)
Notifies that an upload has started |
| Method Detail |
|---|
void commandSent(java.lang.String cmd)
cmd - command stringvoid replyReceived(java.lang.String reply)
reply - reply stringvoid bytesTransferred(long count)
count - count of bytes transferredvoid downloadStarted(java.lang.String remoteFilename)
remoteFilename - remote file namevoid downloadCompleted(java.lang.String remoteFilename)
remoteFilename - remote file namevoid uploadStarted(java.lang.String remoteFilename)
remoteFilename - remote file namevoid uploadCompleted(java.lang.String remoteFilename)
remoteFilename - remote file name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||