ix.util.ipc
Class ServiceAddress
java.lang.Object
ix.util.ipc.ServiceAddress
- All Implemented Interfaces:
- java.io.Serializable
public class ServiceAddress
- extends java.lang.Object
- implements java.io.Serializable
An object that contains a host name and a port number.
- See Also:
- Serialized Form
Field Summary |
java.lang.String |
host
|
int |
port
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
host
public java.lang.String host
port
public int port
ServiceAddress
public ServiceAddress()
ServiceAddress
public ServiceAddress(java.lang.String host,
int port)
ServiceAddress
public ServiceAddress(java.lang.String addr)
- Makes a ServiceAddress from a host:port string.
getHost
public java.lang.String getHost()
setHost
public void setHost(java.lang.String host)
getPort
public int getPort()
setPort
public void setPort(int port)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object