Secure iNet Factory

com.jscape.filetransfer
Class FileTransferCommandEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jscape.filetransfer.FileTransferEvent
          extended by com.jscape.filetransfer.FileTransferCommandEvent
All Implemented Interfaces:
java.io.Serializable

public class FileTransferCommandEvent
extends FileTransferEvent

Fired when command is sent to an FTP server. This event is only fired when communicating with FTP/FTPS servers and is not fired when communicating using SFTP (FTP over SSH) protocol.

See Also:
Serialized Form

Constructor Summary
FileTransferCommandEvent(java.lang.Object source, java.lang.String command)
          Creates FileTransferCommandEvent.
 
Method Summary
 void accept(FileTransferListener listener)
          Accepts event via FileTransferListener.
 java.lang.String getCommand()
          Gets command sent to FTP server.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileTransferCommandEvent

public FileTransferCommandEvent(java.lang.Object source,
                                java.lang.String command)
Creates FileTransferCommandEvent.

Parameters:
source - the source of the event
command - the command sent to FTP server
Method Detail

getCommand

public java.lang.String getCommand()
Gets command sent to FTP server.

Returns:
the command sent to FTP server

accept

public void accept(FileTransferListener listener)
Accepts event via FileTransferListener.

Specified by:
accept in class FileTransferEvent
Parameters:
listener - the listener which receives event

Secure iNet Factory

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