com.jscape.inet.sftp.events
Class SftpDownloadEvent
java.lang.Object
com.jscape.inet.sftp.events.SftpEvent
com.jscape.inet.sftp.events.SftpTransferCompleteEvent
com.jscape.inet.sftp.events.SftpDownloadEvent
- public final class SftpDownloadEvent
- extends SftpTransferCompleteEvent
This event is fired when file is downloaded from SSH server.
|
Constructor Summary |
SftpDownloadEvent(Sftp source,
java.lang.String fileName,
java.lang.String path,
long fileSize,
long downloadTime)
Creates a new event instance. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SftpDownloadEvent
public SftpDownloadEvent(Sftp source,
java.lang.String fileName,
java.lang.String path,
long fileSize,
long downloadTime)
- Creates a new event instance.
- Parameters:
source - the source of the eventfileName - the file namepath - the remote path the file was downloaded fromfileSize - the file size in bytesdownloadTime - total download time
acceptListener
public void acceptListener(SftpListener listener)
- The "backwards dispatching" support.
- Specified by:
acceptListener in class SftpEvent
- Parameters:
listener - the event listener
Copyright JSCAPE 1999-2007 All Rights Reserved