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 | 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.
|
protected Lldp(Lldp lldp)
lldp - LLDP protocol instancepublic ProtocolId id()
Protocolpublic 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()
ProtocoltoDebugString in interface ProtocolCopyright © 2014. All Rights Reserved.