public class PortInformation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
advertised_features |
(package private) int |
config |
(package private) int |
curr_speed |
(package private) int |
current_features |
(package private) byte[] |
hw_addr |
(package private) int |
max_speed |
(package private) byte[] |
name |
(package private) int |
peer_features |
(package private) int |
port |
(package private) int |
state |
(package private) int |
supported_features |
Constructor and Description |
---|
PortInformation() |
PortInformation(int port) |
Modifier and Type | Method and Description |
---|---|
int |
getAdvertisedFeatures() |
int |
getConfig() |
int |
getCurrentFeatures() |
int |
getCurrSpeed() |
byte[] |
getHwAddr() |
java.lang.String |
getHwAddrString() |
int |
getMaxSpeed() |
byte[] |
getName() |
java.lang.String |
getNameString() |
int |
getPeerFeatures() |
int |
getPort() |
int |
getState() |
int |
getSupportedFeatures() |
PortInformation |
setAdvertisedFeatures(int advertised_features) |
PortInformation |
setConfig(int config) |
PortInformation |
setCurrentFeatures(int current_features) |
PortInformation |
setCurrSpeed(int curr_speed) |
PortInformation |
setHwAddr(byte[] hw_addr) |
PortInformation |
setMaxSpeed(int max_speed) |
PortInformation |
setName(byte[] name) |
PortInformation |
setPeerFeatures(int peer_features) |
PortInformation |
setPort(int port) |
PortInformation |
setState(int state) |
PortInformation |
setSupportedFeatures(int supported_features) |
int port
byte[] hw_addr
byte[] name
int config
int state
int current_features
int advertised_features
int supported_features
int peer_features
int curr_speed
int max_speed
public PortInformation()
public PortInformation(int port)
public int getPort()
public PortInformation setPort(int port)
public byte[] getHwAddr()
public java.lang.String getHwAddrString()
public PortInformation setHwAddr(byte[] hw_addr)
public byte[] getName()
public java.lang.String getNameString()
public PortInformation setName(byte[] name)
public int getConfig()
public PortInformation setConfig(int config)
public int getState()
public PortInformation setState(int state)
public int getCurrentFeatures()
public PortInformation setCurrentFeatures(int current_features)
public int getAdvertisedFeatures()
public PortInformation setAdvertisedFeatures(int advertised_features)
public int getSupportedFeatures()
public PortInformation setSupportedFeatures(int supported_features)
public int getPeerFeatures()
public PortInformation setPeerFeatures(int peer_features)
public int getCurrSpeed()
public PortInformation setCurrSpeed(int curr_speed)
public int getMaxSpeed()
public PortInformation setMaxSpeed(int max_speed)