public class EventAdapter extends java.lang.Object implements EventListener
| Constructor and Description |
|---|
EventAdapter() |
| 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
|
public void commandSent(java.lang.String connId,
java.lang.String cmd)
commandSent in interface EventListenercmd - command stringconnId - Identifier of FTP connectionpublic void replyReceived(java.lang.String connId,
java.lang.String reply)
replyReceived in interface EventListenerreply - reply stringconnId - Identifier of FTP connectionpublic void bytesTransferred(java.lang.String connId,
java.lang.String remoteFilename,
long count)
bytesTransferred in interface EventListenercount - count of bytes transferredconnId - Identifier of FTP connectionremoteFilename - Name of remote filepublic void downloadStarted(java.lang.String connId,
java.lang.String remoteFilename)
downloadStarted in interface EventListenerremoteFilename - remote file nameconnId - Identifier of FTP connectionpublic void downloadCompleted(java.lang.String connId,
java.lang.String remoteFilename)
downloadCompleted in interface EventListenerremoteFilename - remote file nameconnId - Identifier of FTP connectionpublic void uploadStarted(java.lang.String connId,
java.lang.String remoteFilename)
uploadStarted in interface EventListenerremoteFilename - remote file nameconnId - Identifier of FTP connectionpublic void uploadCompleted(java.lang.String connId,
java.lang.String remoteFilename)
uploadCompleted in interface EventListenerremoteFilename - remote file nameconnId - Identifier of FTP connectionCopyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.