public class Lldp extends Object implements Protocol
Lldp.Builder
(mutable).
There are no OpenFlow match fields that reference this protocol.
Modifier and Type | Class and Description |
---|---|
static class |
Lldp.Builder
Builder (mutable) used to create new protocol instances.
|
Modifier and Type | Field and Description |
---|---|
static MacAddress |
DST_MAC
Standards-defined destination MAC address used by this protocol
|
Modifier | Constructor and Description |
---|---|
protected |
Lldp(Lldp lldp)
Internally used by sub-classes to create protocol instances.
|
Modifier and Type | Method and Description |
---|---|
LldpTlv |
chassisId()
Returns the chassis ID.
|
ProtocolId |
id()
Returns the protocol ID.
|
EnumMap<LldpTlv.Type,LldpTlv> |
options()
Returns the options in the form of a map to allow access based on
LldpTlv . |
LldpTlv |
portId()
Returns the port ID.
|
LldpTlv[] |
privateOptions()
Returns a copy of the private options.
|
String |
toDebugString()
Returns the protocol debug string.
|
String |
toString() |
LldpTlv |
ttl()
Returns the time to live value.
|
public static final MacAddress DST_MAC
protected Lldp(Lldp lldp)
lldp
- LLDP protocol instancepublic ProtocolId id()
Protocol
public LldpTlv chassisId()
public LldpTlv portId()
public LldpTlv ttl()
public EnumMap<LldpTlv.Type,LldpTlv> options()
LldpTlv
. Note that there is a also a
privateOptions()
method to return the private options.public LldpTlv[] privateOptions()
options()
method to return the non-private options.public String toDebugString()
Protocol
toDebugString
in interface Protocol
Copyright © 2016. All Rights Reserved.