Secure iNet Factory

com.jscape.inet.smtp
Class SmtpDisconnectedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jscape.inet.smtp.SmtpDisconnectedEvent
All Implemented Interfaces:
java.io.Serializable

public class SmtpDisconnectedEvent
extends java.util.EventObject

Fired when connection to SMTP server is released.

See Also:
Serialized Form

Constructor Summary
SmtpDisconnectedEvent(java.lang.Object source, java.lang.String hostname)
          Creates SmtpDisconnectedEvent.
 
Method Summary
 java.lang.String getHostname()
          Gets SMTP 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

SmtpDisconnectedEvent

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

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

getHostname

public java.lang.String getHostname()
Gets SMTP server hostname.

Returns:
hostname

Secure iNet Factory

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