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:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description DataLinkAddress()
protected
DataLinkAddress(String name)
Constructor of super class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getName()
Allow to distinguish among different data link addresses.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
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 Detail
-
getName
public String getName()
Allow to distinguish among different data link addresses.- Returns:
- Name of the DataLinkAdress we are working on
-
-