Secure iNet Factory

com.jscape.inet.sftp.events
Class SftpDownloadEvent

java.lang.Object
  extended by com.jscape.inet.sftp.events.SftpEvent
      extended by com.jscape.inet.sftp.events.SftpTransferCompleteEvent
          extended by 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, java.lang.String localPath, long fileSize, long downloadTime)
          Creates a new event instance.
 
Method Summary
 void acceptListener(SftpListener listener)
          The "backwards dispatching" support.
 
Methods inherited from class com.jscape.inet.sftp.events.SftpTransferCompleteEvent
getFilename, getFilesize, getLocalPath, getPath, getTime
 
Methods inherited from class com.jscape.inet.sftp.events.SftpEvent
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SftpDownloadEvent

public SftpDownloadEvent(Sftp source,
                         java.lang.String fileName,
                         java.lang.String path,
                         java.lang.String localPath,
                         long fileSize,
                         long downloadTime)
Creates a new event instance.

Parameters:
source - the source of the event
fileName - the file name
path - the remote path the file was downloaded from
localPath - the local file path
fileSize - the file size in bytes
downloadTime - total download time
Method Detail

acceptListener

public void acceptListener(SftpListener listener)
The "backwards dispatching" support.

Specified by:
acceptListener in class SftpEvent
Parameters:
listener - the event listener

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved