public class PortFeatures extends Object
Constructor and Description |
---|
PortFeatures()
Instantiates a new port features.
|
PortFeatures(int features)
Instantiates a new port features.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getHighestThroughput()
Gets the highest throughput exposed by the port.
|
Integer |
getOVXFeatures()
Gets the oVX features.
|
boolean |
isAutonegotiation()
Checks if is autonegotiation.
|
boolean |
isCopper()
Checks if is copper.
|
boolean |
isFiber()
Checks if is fiber.
|
boolean |
isPause()
Checks if is pause.
|
boolean |
isPauseAsym()
Checks if is pause asym.
|
boolean |
isSpeed100MFD()
Checks if is speed100 mfd.
|
boolean |
isSpeed100MHD()
Checks if is speed100 mhd.
|
boolean |
isSpeed10GFD()
Checks if is speed10 gfd.
|
boolean |
isSpeed10MFD()
Checks if is speed10 mfd.
|
boolean |
isSpeed10MHD()
Checks if is speed10 mhd.
|
boolean |
isSpeed1GFD()
Checks if is speed1 gfd.
|
boolean |
isSpeed1GHD()
Checks if is speed1 ghd.
|
void |
setAdvertisedOVXPortFeatures()
Sets the advertised ovx port features.
|
void |
setAutonegotiation(boolean autonegotiation)
Sets the autonegotiation.
|
void |
setCopper(boolean copper)
Sets the copper.
|
void |
setCurrentOVXPortFeatures()
Sets the current ovx port features.
|
void |
setFiber(boolean fiber)
Sets the fiber.
|
void |
setPause(boolean pause)
Sets the pause.
|
void |
setPauseAsym(boolean pauseAsym)
Sets the pause asym.
|
void |
setPeerOVXPortFeatures()
Sets the peer ovx port features.
|
void |
setSpeed100MFD(boolean speed100mfd)
Sets the speed100 mfd.
|
void |
setSpeed100MHD(boolean speed100mhd)
Sets the speed100 mhd.
|
void |
setSpeed10GFD(boolean speed10gfd)
Sets the speed10 gfd.
|
void |
setSpeed10MFD(boolean speed10mfd)
Sets the speed10 mfd.
|
void |
setSpeed10MHD(boolean speed10mhd)
Sets the speed10 mhd.
|
void |
setSpeed1GFD(boolean speed1gfd)
Sets the speed1 gfd.
|
void |
setSpeed1GHD(boolean speed1ghd)
Sets the speed1 ghd.
|
void |
setSupportedOVXPortFeatures()
Sets the supported ovx port features.
|
public PortFeatures()
public PortFeatures(int features)
features
- the featurespublic void setCurrentOVXPortFeatures()
public void setSupportedOVXPortFeatures()
public void setAdvertisedOVXPortFeatures()
public void setPeerOVXPortFeatures()
public Integer getOVXFeatures()
public boolean isSpeed10MHD()
public void setSpeed10MHD(boolean speed10mhd)
speed10mhd
- the new speed10 mhdpublic boolean isSpeed10MFD()
public void setSpeed10MFD(boolean speed10mfd)
speed10mfd
- the new speed10 mfdpublic boolean isSpeed100MHD()
public void setSpeed100MHD(boolean speed100mhd)
speed100mhd
- the new speed100 mhdpublic boolean isSpeed100MFD()
public void setSpeed100MFD(boolean speed100mfd)
speed100mfd
- the new speed100 mfdpublic boolean isSpeed1GHD()
public void setSpeed1GHD(boolean speed1ghd)
speed1ghd
- the new speed1 ghdpublic boolean isSpeed1GFD()
public void setSpeed1GFD(boolean speed1gfd)
speed1gfd
- the new speed1 gfdpublic boolean isSpeed10GFD()
public void setSpeed10GFD(boolean speed10gfd)
speed10gfd
- the new speed10 gfdpublic boolean isCopper()
public void setCopper(boolean copper)
copper
- the new copperpublic boolean isFiber()
public void setFiber(boolean fiber)
fiber
- the new fiberpublic boolean isAutonegotiation()
public void setAutonegotiation(boolean autonegotiation)
autonegotiation
- the new autonegotiationpublic boolean isPause()
public void setPause(boolean pause)
pause
- the new pausepublic boolean isPauseAsym()
public void setPauseAsym(boolean pauseAsym)
pauseAsym
- the new pause asympublic Integer getHighestThroughput()
Copyright © 2015. All rights reserved.