Secure FTP Factory

com.jscape.inet.ftp
Class FtpCommandEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.jscape.inet.ftp.FtpEvent
          extended bycom.jscape.inet.ftp.FtpCommandEvent
All Implemented Interfaces:
java.io.Serializable

public class FtpCommandEvent
extends FtpEvent

Fired when command is sent to FTP server

See Also:
Serialized Form

Constructor Summary
FtpCommandEvent(java.lang.Object source, java.lang.String command)
          Creates FtpCommandEvent.
 
Method Summary
 void accept(FtpListener listener)
          Event is accepted by listener
 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

FtpCommandEvent

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

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(FtpListener listener)
Description copied from class: FtpEvent
Event is accepted by listener

Specified by:
accept in class FtpEvent
Parameters:
listener -

Secure FTP Factory

Copyright JSCAPE 1999-2007 All Rights Reserved