com.jscape.inet.ftp
Class FtpCommandEvent
java.lang.Object
java.util.EventObject
com.jscape.inet.ftp.FtpEvent
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 |
FtpCommandEvent
public FtpCommandEvent(java.lang.Object source,
java.lang.String command)
- Creates FtpCommandEvent.
- Parameters:
source
- the source of the eventcommand
- the command sent to FTP server
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
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved