public final class LinkEdge extends Object
LinkEdge describes an edge of network topology.| Constructor and Description |
|---|
LinkEdge(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Link link)
Construct a new instance.
|
LinkEdge(VtnSwitchLink vlink)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
SalPort |
getDestinationPort()
Return the destination port of this edge.
|
SalPort |
getSourcePort()
Return the source port of this edge.
|
int |
hashCode()
Return the hash code of this object.
|
String |
toString()
Return a string representation of this object.
|
public LinkEdge(VtnSwitchLink vlink)
vlink - A VtnSwitchLink instance.NullPointerException - vlink is null.IllegalArgumentException - An invalid instance is specified to vlink.public LinkEdge(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Link link)
link - A Link instance.NullPointerException - link is null.IllegalArgumentException - An invalid instance is specified to link.public SalPort getSourcePort()
SalPort instance which represents the source
switch port of the edge.public SalPort getDestinationPort()
SalPort instance which represents the destination
switch port of the edge.public boolean equals(Object o)
public int hashCode()
Copyright © 2018 OpenDaylight. All rights reserved.