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

## org.teleal.cling.model
Class NetworkAddress

    java.lang.Object
      org.teleal.cling.model.NetworkAddress

    public class NetworkAddress

extends Object

IP address, port, and optional interface hardware address (MAC) of a network service.

Author:
  Christian Bauer

Field Summary
`protected InetAddress` | `address`
`protected byte[]` | `hardwareAddress`
`protected int` | `port`

Constructor Summary
`NetworkAddress(InetAddress address, int port)`
`NetworkAddress(InetAddress address, int port, byte[] hardwareAddress)`

Method Summary
`boolean` | `equals(Object o)`
`InetAddress` | `getAddress()`
`byte[]` | `getHardwareAddress()`
`int` | `getPort()`
`int` | `hashCode()`

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

Field Detail

### address

    protected InetAddress address

### port

    protected int port

### hardwareAddress

    protected byte[] hardwareAddress

Constructor Detail

### NetworkAddress

    public NetworkAddress(InetAddress address,
                          int port)

### NetworkAddress

    public NetworkAddress(InetAddress address,
                          int port,
                          byte[] hardwareAddress)

Method Detail

### getAddress

    public InetAddress getAddress()

### getPort

    public int getPort()

### getHardwareAddress

    public byte[] getHardwareAddress()

### equals

    public boolean equals(Object o)

  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `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

Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.