public enum IsisPduType extends Enum<IsisPduType>
| Enum Constant and Description |
|---|
L1CSNP
Represents Level-1 complete sequence number packet.
|
L1HELLOPDU
Represents Level-1 LAN hello packet.
|
L1LSPDU
Represents Level-1 link state packet.
|
L1PSNP
Represents Level-1 partial sequence number packet.
|
L2CSNP
Represents Level-2 complete sequence number packet.
|
L2HELLOPDU
Represents Level-2 LAN hello packet.
|
L2LSPDU
Represents Level-2 link state packet.
|
L2PSNP
Represents Level-2 partial sequence number packet.
|
P2PHELLOPDU
Represents point-to-point hello packet.
|
| Modifier and Type | Method and Description |
|---|---|
static IsisPduType |
get(int pduTypeValue)
Gets the enum instance from type value - reverse lookup purpose.
|
int |
value()
Gets the value representing PDU type.
|
static IsisPduType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsisPduType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsisPduType L1HELLOPDU
public static final IsisPduType L2HELLOPDU
public static final IsisPduType P2PHELLOPDU
public static final IsisPduType L1LSPDU
public static final IsisPduType L2LSPDU
public static final IsisPduType L1CSNP
public static final IsisPduType L2CSNP
public static final IsisPduType L1PSNP
public static final IsisPduType L2PSNP
public static IsisPduType[] values()
for (IsisPduType c : IsisPduType.values()) System.out.println(c);
public static IsisPduType 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 static IsisPduType get(int pduTypeValue)
pduTypeValue - PDU type valuepublic int value()