|
||||||||||
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(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 |
Method Detail |
---|
void commandSent(java.lang.String connId, java.lang.String cmd)
connID
- Identifier of FTP connectioncmd
- command stringvoid replyReceived(java.lang.String connId, java.lang.String reply)
connID
- Identifier of FTP connectionreply
- reply stringvoid bytesTransferred(java.lang.String connId, java.lang.String remoteFilename, long count)
connID
- Identifier of FTP connectionremoteFilename
- Name of remote filecount
- count of bytes transferredvoid downloadStarted(java.lang.String connId, java.lang.String remoteFilename)
connID
- Identifier of FTP connectionremoteFilename
- remote file namevoid downloadCompleted(java.lang.String connId, java.lang.String remoteFilename)
connID
- Identifier of FTP connectionremoteFilename
- remote file namevoid uploadStarted(java.lang.String connId, java.lang.String remoteFilename)
connID
- Identifier of FTP connectionremoteFilename
- remote file namevoid uploadCompleted(java.lang.String connId, java.lang.String remoteFilename)
connID
- Identifier of FTP connectionremoteFilename
- remote file name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |