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 SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final EthernetAddressstatic final EthernetAddressstatic final int
- 
Constructor SummaryConstructorsConstructorDescriptionEthernetAddress(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 SummaryMethods inherited from class org.opendaylight.openflowplugin.libraries.liblldp.DataLinkAddressgetName
- 
Field Details- 
BROADCASTMAC
- 
INVALIDHOST
- 
ADDRESS_NAME- See Also:
 
- 
SIZEpublic static final int SIZE- See Also:
 
 
- 
- 
Constructor Details- 
EthernetAddresspublic 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
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- DataLinkAddress
 
- 
equals- Overrides:
- equalsin class- DataLinkAddress
 
- 
toString- Overrides:
- toStringin class- DataLinkAddress
 
- 
getMacAddress
 
-