|
Secure FTP Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jscape.inet.sftp.events.SftpAdapter
Implements methods for capturing events sourced from Sftp class. Typicaly your application will use this class instead of SftpListener interface to capture the following events :
SftpConnectedEventSftpDisconnectedEventSftpUploadEventSftpDownloadEventSfpListingEventSftpProgressEvent
| Constructor Summary | |
SftpAdapter()
|
|
| Method Summary | |
void |
changeDir(SftpChangeDirEvent event)
Invoked when the remote directory path is changed. |
void |
connected(SftpConnectedEvent event)
Invoked when connection to SSH server is established. |
void |
createDir(SftpCreateDirEvent event)
Invoked when a directory is created. |
void |
deleteDir(SftpDeleteDirEvent event)
Invoked when directory is deleted. |
void |
deleteFile(SftpDeleteFileEvent event)
Invoked when a file is deleted. |
void |
dirListing(SftpListingEvent event)
Invoked when directory listing is retrieved from SSH server. |
void |
disconnected(SftpDisconnectedEvent event)
Invoked when connection to SSH server is released. |
void |
download(SftpDownloadEvent event)
Invoked when file is downloaded from SSH server. |
void |
progress(SftpProgressEvent event)
Invoked to mark progress of a SSH download or upload operation. |
void |
renameFile(SftpRenameFileEvent event)
Invoked when a file is renamed. |
void |
upload(SftpUploadEvent event)
Invoked when file is uploaded to SSH server. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SftpAdapter()
| Method Detail |
public void connected(SftpConnectedEvent event)
connected in interface SftpListenerevent - a SftpConnectedEventSftpConnectedEventpublic void disconnected(SftpDisconnectedEvent event)
disconnected in interface SftpListenerevent - a SftpDisconnectedEventSftpDisconnectedEventpublic void download(SftpDownloadEvent event)
download in interface SftpListenerevent - a SftpDownloadEventSftpDownloadEventpublic void upload(SftpUploadEvent event)
upload in interface SftpListenerevent - a SftpUploadEventSftpUploadEventpublic void progress(SftpProgressEvent event)
progress in interface SftpListenerevent - a SftpProgressEventSftpProgressEventpublic void dirListing(SftpListingEvent event)
dirListing in interface SftpListenerevent - a SftpListingEventSftpListingEventpublic void deleteDir(SftpDeleteDirEvent event)
deleteDir in interface SftpListenerevent - a SftpDeleteDirEventSftpDeleteDirEventpublic void deleteFile(SftpDeleteFileEvent event)
deleteFile in interface SftpListenerevent - a SftpDeleteFileEventSftpDeleteFileEventpublic void renameFile(SftpRenameFileEvent event)
renameFile in interface SftpListenerevent - a SftpRenameFileEventSftpRenameFileEventpublic void createDir(SftpCreateDirEvent event)
createDir in interface SftpListenerevent - a SftpCreateDirEventSftpCreateDirEventpublic void changeDir(SftpChangeDirEvent event)
changeDir in interface SftpListenerevent - a SftpChangeDirEventSftpChangeDirEvent
|
Secure FTP Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||