|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.EventAdapter
public class EventAdapter
An adapter class that implements dummy methods of the EventListener interface. Useful for quickly implementing a single method of EventListener.
| Constructor Summary | |
|---|---|
EventAdapter()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventAdapter()
| Method Detail |
|---|
public void commandSent(java.lang.String connId,
java.lang.String cmd)
commandSent in interface EventListenercmd - command string
public void replyReceived(java.lang.String connId,
java.lang.String reply)
replyReceived in interface EventListenerreply - reply string
public void bytesTransferred(java.lang.String connId,
java.lang.String remoteFilename,
long count)
bytesTransferred in interface EventListenercount - count of bytes transferredremoteFilename - Name of remote file
public void downloadStarted(java.lang.String connId,
java.lang.String remoteFilename)
downloadStarted in interface EventListenerremoteFilename - remote file name
public void downloadCompleted(java.lang.String connId,
java.lang.String remoteFilename)
downloadCompleted in interface EventListenerremoteFilename - remote file name
public void uploadStarted(java.lang.String connId,
java.lang.String remoteFilename)
uploadStarted in interface EventListenerremoteFilename - remote file name
public void uploadCompleted(java.lang.String connId,
java.lang.String remoteFilename)
uploadCompleted in interface EventListenerremoteFilename - remote file name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||