Secure iNet Factory

com.jscape.inet.ftp
Class FtpConnectionLostEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jscape.inet.ftp.FtpEvent
          extended by 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.
 
Method Summary
 void accept(FtpListener listener)
          Event is accepted by listener
 java.lang.String getHostname()
          Gets FTP server hostname.
 
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

FtpConnectionLostEvent

public FtpConnectionLostEvent(java.lang.Object source,
                              java.lang.String hostname)
Creates FtpConnectionLostEvent.

Parameters:
source - the source of the event
hostname - the hostname of the FTP server
Method Detail

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

Secure iNet Factory

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