|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jscape.inet.ftp.FtpAdapter
Implements methods for capturing events sourced from Ftp class.
This class is intended to provide vertical compatibility with FtpListener
interface.
Typicaly your application will use this class instead of FtpListener interface
to capture the following events :
FtpConnectedEvent
FtpDisconnectedEvent
FtpUploadEvent
FtpDownloadEvent
FtpCommandEvent
FtpResponseEvent
FtpListingEvent
FtpProgressEvent
FtpConnectionLostEvent
| Constructor Summary | |
FtpAdapter()
|
|
| Method Summary | |
void |
changeDir(FtpChangeDirEvent event)
Invoked when the remote directory path is changed on the server. |
void |
commandSent(FtpCommandEvent event)
Invoked when a command is sent to FTP server. |
void |
connected(FtpConnectedEvent event)
Invoked when connection to FTP server is established. |
void |
connectionLost(FtpConnectionLostEvent event)
Invoked when connection to FTP server is unexpectedly closed. |
void |
createDir(FtpCreateDirEvent event)
Invoked when a directory is created. |
void |
deleteDir(FtpDeleteDirEvent event)
Invoked when directory is deleted. |
void |
deleteFile(FtpDeleteFileEvent event)
Invoked when a file is deleted. |
void |
disconnected(FtpDisconnectedEvent event)
Invoked when connection to FTP server is released. |
void |
download(FtpDownloadEvent event)
Invoked when file is downloaded from FTP server. |
void |
listing(FtpListingEvent event)
Invoked when directory listing is retrieved from FTP server. |
void |
progress(FtpProgressEvent event)
Invoked to mark progress of a download or upload operation. |
void |
renameFile(FtpRenameFileEvent event)
Invoked when a file is renamed. |
void |
responseReceived(FtpResponseEvent event)
Invoked when a response is received from FTP server. |
void |
upload(FtpUploadEvent event)
Invoked when file is uploaded to FTP server. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FtpAdapter()
| Method Detail |
public void connected(FtpConnectedEvent event)
connected in interface FtpListenerevent - a FtpConnectedEventFtpConnectedEventpublic void disconnected(FtpDisconnectedEvent event)
disconnected in interface FtpListenerevent - a FtpDisconnectedEventFtpDisconnectedEventpublic void upload(FtpUploadEvent event)
upload in interface FtpListenerevent - a FtpUploadEventFtpUploadEventpublic void download(FtpDownloadEvent event)
download in interface FtpListenerevent - a FtpDownloadEventFtpDownloadEventpublic void progress(FtpProgressEvent event)
progress in interface FtpListenerevent - a FtpProgressEventFtpProgressEventpublic void listing(FtpListingEvent event)
listing in interface FtpListenerevent - a FtpListingEventFtpListingEventpublic void commandSent(FtpCommandEvent event)
commandSent in interface FtpListenerevent - a FtpCommandEventFtpCommandEventpublic void responseReceived(FtpResponseEvent event)
responseReceived in interface FtpListenerevent - a FtpResponseEventFtpResponseEventpublic void connectionLost(FtpConnectionLostEvent event)
connectionLost in interface FtpListenerevent - a FtpConnectionLostEventFtpConnectionLostEventpublic void deleteDir(FtpDeleteDirEvent event)
deleteDir in interface FtpListenerevent - a FtpDeleteDirEventFtpDeleteDirEventpublic void deleteFile(FtpDeleteFileEvent event)
deleteFile in interface FtpListenerevent - a FtpDeleteFileEventFtpDeleteFileEventpublic void renameFile(FtpRenameFileEvent event)
renameFile in interface FtpListenerevent - a FtpRenameFileEventFtpRenameFileEventpublic void createDir(FtpCreateDirEvent event)
createDir in interface FtpListenerevent - a FtpCreateDirEventFtpCreateDirEventpublic void changeDir(FtpChangeDirEvent event)
changeDir in interface FtpListenerevent - a FtpChangeDirEventFtpChangeDirEvent
|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||