com.jscape.inet.ftp
Class FtpConnectionLostEvent
java.lang.Object
java.util.EventObject
com.jscape.inet.ftp.FtpEvent
com.jscape.inet.ftp.FtpConnectionLostEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class FtpConnectionLostEvent
- extends FtpEvent
Fired when connection to FTP server is unexpectedly closed.
- See Also:
- Serialized Form
|
Constructor Summary |
FtpConnectionLostEvent(java.lang.Object source,
java.lang.String hostname)
Creates FtpConnectionLostEvent. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FtpConnectionLostEvent
public FtpConnectionLostEvent(java.lang.Object source,
java.lang.String hostname)
- Creates FtpConnectionLostEvent.
- Parameters:
source - the source of the eventhostname - the hostname of the FTP server
getHostname
public java.lang.String getHostname()
- Gets FTP server hostname.
- Returns:
- hostname
accept
public void accept(FtpListener listener)
- Description copied from class:
FtpEvent
- Event is accepted by listener
- Specified by:
accept in class FtpEvent
- Parameters:
listener -
Copyright JSCAPE 1999-2008 All Rights Reserved