com.jscape.inet.ipclient
Class IpClientDisconnectedEvent
java.lang.Object
java.util.EventObject
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 |
IpClientDisconnectedEvent
public IpClientDisconnectedEvent(java.lang.Object source,
java.lang.String hostname,
int port)
- Creates a new IpClientDisconnectedEvent instance.
- Parameters:
source
- the source of this eventhostname
- the server hostnameport
- the server port
getHostname
public java.lang.String getHostname()
- Gets server hostname.
- Returns:
- server hostname
getPort
public int getPort()
- Gets server port.
- Returns:
- server port
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved