Class EthernetAddress
java.lang.Object
org.opendaylight.openflowplugin.libraries.liblldp.DataLinkAddress
org.opendaylight.openflowplugin.libraries.liblldp.EthernetAddress
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final EthernetAddress
static final EthernetAddress
static final int
-
Constructor Summary
ConstructorDescriptionEthernetAddress
(byte[] macAddress) Public constructor for an Ethernet MAC address starting from the byte constituing the address, the constructor validate the size of the arrive to make sure it met the expected size. -
Method Summary
Methods inherited from class org.opendaylight.openflowplugin.libraries.liblldp.DataLinkAddress
getName
-
Field Details
-
BROADCASTMAC
-
INVALIDHOST
-
ADDRESS_NAME
- See Also:
-
SIZE
public static final int SIZE- See Also:
-
-
Constructor Details
-
EthernetAddress
public EthernetAddress(byte[] macAddress) Public constructor for an Ethernet MAC address starting from the byte constituing the address, the constructor validate the size of the arrive to make sure it met the expected size.- Parameters:
macAddress
- A byte array in big endian format representing the Ethernet MAC Address
-
-
Method Details
-
clone
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDataLinkAddress
-
equals
- Overrides:
equals
in classDataLinkAddress
-
toString
- Overrides:
toString
in classDataLinkAddress
-
getMacAddress
-