public static enum LldpTlv.Type extends Enum<LldpTlv.Type> implements ProtocolEnum
Enum Constant and Description |
---|
CAPS
Capabilities type.
|
CHASSIS_ID
Chassis ID type.
|
END
Signifies the last TLV.
|
MGMT_ADDR
Management Address type.
|
PORT_DESC
Port description type.
|
PORT_ID
Port ID type.
|
PRIVATE
Private (organization) type.
|
SYS_DESC
System description type.
|
SYS_NAME
System name type.
|
TTL
Time to live type.
|
Modifier and Type | Method and Description |
---|---|
int |
code()
Returns the code value for the enumeration constant.
|
static LldpTlv.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LldpTlv.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LldpTlv.Type END
public static final LldpTlv.Type CHASSIS_ID
public static final LldpTlv.Type PORT_ID
public static final LldpTlv.Type TTL
public static final LldpTlv.Type PORT_DESC
public static final LldpTlv.Type SYS_NAME
public static final LldpTlv.Type SYS_DESC
public static final LldpTlv.Type CAPS
public static final LldpTlv.Type MGMT_ADDR
public static final LldpTlv.Type PRIVATE
public static LldpTlv.Type[] values()
for (LldpTlv.Type c : LldpTlv.Type.values()) System.out.println(c);
public static LldpTlv.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int code()
ProtocolEnum
code
in interface ProtocolEnum
Copyright © 2015. All Rights Reserved.