public static enum LldpTlv.PortIdSubType extends Enum<LldpTlv.PortIdSubType> implements ProtocolEnum
Enum Constant and Description |
---|
AGENT_CIRC_ID
Agent circuit ID sub-type.
|
INTF_ALIAS
Interface alias sub-type.
|
INTF_NAME
Interface name sub-type.
|
LOCAL
Local sub-type
|
MAC_ADDR
MAC address sub-type.
|
NET_ADDR
Network address sub-type.
|
PORT_COMP
Port component sub-type.
|
Modifier and Type | Method and Description |
---|---|
int |
code()
Returns the code value for the enumeration constant.
|
static LldpTlv.PortIdSubType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LldpTlv.PortIdSubType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LldpTlv.PortIdSubType INTF_ALIAS
public static final LldpTlv.PortIdSubType PORT_COMP
public static final LldpTlv.PortIdSubType MAC_ADDR
public static final LldpTlv.PortIdSubType NET_ADDR
public static final LldpTlv.PortIdSubType INTF_NAME
public static final LldpTlv.PortIdSubType AGENT_CIRC_ID
public static final LldpTlv.PortIdSubType LOCAL
public static LldpTlv.PortIdSubType[] values()
for (LldpTlv.PortIdSubType c : LldpTlv.PortIdSubType.values()) System.out.println(c);
public static LldpTlv.PortIdSubType 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.