public class PortAddresses extends Object
| Constructor and Description |
|---|
PortAddresses(ConnectPoint connectPoint,
Set<InterfaceIpAddress> ipAddresses,
org.onlab.packet.MacAddress mac)
Constructs a PortAddresses object for the given connection point, with a
set of IP addresses and a MAC address.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectPoint |
connectPoint()
Returns the connection point this address information is bound to.
|
boolean |
equals(Object other) |
int |
hashCode() |
Set<InterfaceIpAddress> |
ipAddresses()
Returns the set of interface IP addresses.
|
org.onlab.packet.MacAddress |
mac()
Returns the MAC address.
|
String |
toString() |
public PortAddresses(ConnectPoint connectPoint, Set<InterfaceIpAddress> ipAddresses, org.onlab.packet.MacAddress mac)
connectPoint - the connection point these addresses are foripAddresses - a set of interface IP addressesmac - a MAC addresspublic ConnectPoint connectPoint()
public Set<InterfaceIpAddress> ipAddresses()
public org.onlab.packet.MacAddress mac()
Copyright © 2015. All rights reserved.