public enum OspfPacketType extends java.lang.Enum<OspfPacketType>
| Enum Constant and Description |
|---|
DD
OSPF device description packet.
|
HELLO
OSPF hello packet.
|
LSAACK
OSPF link state acknowledge packet.
|
LSREQUEST
OSPF link state request packet.
|
LSUPDATE
OSPF link state update packet.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value()
Gets the value.
|
static OspfPacketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OspfPacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OspfPacketType HELLO
public static final OspfPacketType DD
public static final OspfPacketType LSREQUEST
public static final OspfPacketType LSUPDATE
public static final OspfPacketType LSAACK
public static OspfPacketType[] values()
for (OspfPacketType c : OspfPacketType.values()) System.out.println(c);
public static OspfPacketType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()