public final class DefaultVirtualPort extends org.onosproject.net.DefaultPort implements VirtualPort
| Constructor and Description |
|---|
DefaultVirtualPort(NetworkId networkId,
org.onosproject.net.Device device,
org.onosproject.net.PortNumber portNumber,
org.onosproject.net.ConnectPoint realizedBy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
NetworkId |
networkId()
Returns the network identifier to which this virtual element belongs.
|
org.onosproject.net.ConnectPoint |
realizedBy()
Returns the underlying port using which this port is realized.
|
String |
toString() |
element, isEnabled, number, portSpeed, typeclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic DefaultVirtualPort(NetworkId networkId, org.onosproject.net.Device device, org.onosproject.net.PortNumber portNumber, org.onosproject.net.ConnectPoint realizedBy)
public NetworkId networkId()
VirtualElementnetworkId in interface VirtualElementpublic org.onosproject.net.ConnectPoint realizedBy()
VirtualPortrealizedBy in interface VirtualPortpublic int hashCode()
hashCode in class org.onosproject.net.DefaultPortpublic boolean equals(Object obj)
equals in class org.onosproject.net.DefaultPortpublic String toString()
toString in class org.onosproject.net.DefaultPort