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)
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 nameCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.