public final class DefaultVirtualPort extends DefaultPort implements VirtualPort
DEFAULT_SPEED| Constructor and Description |
|---|
DefaultVirtualPort(NetworkId networkId,
Device device,
PortNumber portNumber,
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.
|
ConnectPoint |
realizedBy()
Returns the underlying port using which this port is realized.
|
String |
toString() |
element, isEnabled, number, portSpeed, typeannotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitelement, isEnabled, number, portSpeed, typeannotationspublic DefaultVirtualPort(NetworkId networkId, Device device, PortNumber portNumber, ConnectPoint realizedBy)
public NetworkId networkId()
VirtualElementnetworkId in interface VirtualElementpublic ConnectPoint realizedBy()
VirtualPortrealizedBy in interface VirtualPortpublic int hashCode()
hashCode in class DefaultPortpublic boolean equals(Object obj)
equals in class DefaultPortpublic String toString()
toString in class DefaultPort