Secure iNet Factory

com.jscape.inet.smtp
Class SmtpConnectedEvent

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

public class SmtpConnectedEvent
extends java.util.EventObject

Fired when connection to SMTP server is established.

See Also:
Serialized Form

Constructor Summary
SmtpConnectedEvent(java.lang.Object source, java.lang.String hostname)
          Creates SmtpConnectedEvent.
 
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

SmtpConnectedEvent

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

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