Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Constructor Summary
`ServiceAddress()`
`ServiceAddress(java.lang.String addr)` Makes a ServiceAddress from a host:port string.
`ServiceAddress(java.lang.String host, int port)`

Method Summary
`java.lang.String` | `getHost()`
`int` | `getPort()`
`void` | `setHost(java.lang.String host)`
`void` | `setPort(int port)`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### host

    public java.lang.String host

### port

    public int port

Constructor Detail

### 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.

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD