Secure iNet Factory

com.jscape.inet.ftp
Class FtpCommandEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jscape.inet.ftp.FtpEvent
          extended by com.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

Secure iNet Factory

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