Secure iNet Factory

com.jscape.inet.ipclient
Class IpClientDisconnectedEvent

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

public class IpClientDisconnectedEvent
extends java.util.EventObject

Fired when connection with server is closed.

See Also:
Serialized Form

Constructor Summary
IpClientDisconnectedEvent(java.lang.Object source, java.lang.String hostname, int port)
          Creates a new IpClientDisconnectedEvent instance.
 
Method Summary
 java.lang.String getHostname()
          Gets server hostname.
 int getPort()
          Gets server port.
 
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

IpClientDisconnectedEvent

public IpClientDisconnectedEvent(java.lang.Object source,
                                 java.lang.String hostname,
                                 int port)
Creates a new IpClientDisconnectedEvent instance.

Parameters:
source - the source of this event
hostname - the server hostname
port - the server port
Method Detail

getHostname

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

Returns:
server hostname

getPort

public int getPort()
Gets server port.

Returns:
server port

Secure iNet Factory

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