public interface Port extends Annotated
Modifier and Type | Interface and Description |
---|---|
static class |
Port.Type
Represents coarse port type classification.
|
Modifier and Type | Method and Description |
---|---|
Element |
element()
Returns the parent network element to which this port belongs.
|
boolean |
isEnabled()
Indicates whether or not the port is currently up and active.
|
PortNumber |
number()
Returns the port number.
|
long |
portSpeed()
Returns the current port speed in Mbps.
|
Port.Type |
type()
Returns the port type.
|
annotations
Element element()
PortNumber number()
boolean isEnabled()
Port.Type type()
long portSpeed()