public enum RequestType extends Enum<RequestType>
| Enum Constant and Description |
|---|
CREATE
Specifies the request type for PCC is to create new tunnel.
|
DELETE
Specifies the request type for PCC is to delete existing tunnel.
|
LSP_STATE_RPT
Specifies the request type for PCC to report existing tunnel.
|
UPDATE
Specifies the request type for PCC is to update existing tunnel.
|
| Modifier and Type | Method and Description |
|---|---|
static RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestType CREATE
public static final RequestType UPDATE
public static final RequestType DELETE
public static final RequestType LSP_STATE_RPT
public static RequestType[] values()
for (RequestType c : RequestType.values()) System.out.println(c);
public static RequestType 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 null