public static enum ForwardingRule.IPProtocol extends Enum<ForwardingRule.IPProtocol>
Enum Constant and Description |
---|
AH
IP Authentication Header protocol.
|
ESP
IP Encapsulating Security Payload protocol.
|
SCTP
Stream Control Transmission Protocol.
|
TCP
Transmission Control Protocol.
|
UDP
Specifies the User Datagram Protocol.
|
Modifier and Type | Method and Description |
---|---|
static ForwardingRule.IPProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForwardingRule.IPProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForwardingRule.IPProtocol AH
public static final ForwardingRule.IPProtocol ESP
public static final ForwardingRule.IPProtocol SCTP
public static final ForwardingRule.IPProtocol TCP
public static final ForwardingRule.IPProtocol UDP
public static ForwardingRule.IPProtocol[] values()
for (ForwardingRule.IPProtocol c : ForwardingRule.IPProtocol.values()) System.out.println(c);
public static ForwardingRule.IPProtocol 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 nullCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.