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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final EthernetAddressstatic final EthernetAddressstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionEthernetAddress(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:
hashCodein classDataLinkAddress
-
equals
- Overrides:
equalsin classDataLinkAddress
-
toString
- Overrides:
toStringin classDataLinkAddress
-
getMacAddress
-