Class DataLinkAddress

java.lang.Object
org.opendaylight.openflowplugin.libraries.liblldp.DataLinkAddress
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
EthernetAddress

public abstract class DataLinkAddress extends Object implements Serializable, Cloneable
Abstract base class for a Datalink Address.
See Also:
  • Constructor Details

    • DataLinkAddress

      public DataLinkAddress()
    • DataLinkAddress

      protected DataLinkAddress(String name)
      Constructor of super class.
      Parameters:
      name - Create a new DataLink, not for general use but available only for sub classes
  • Method Details

    • getName

      public String getName()
      Allow to distinguish among different data link addresses.
      Returns:
      Name of the DataLinkAdress we are working on
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object