Serializable, Comparable<Rfc1349TrafficClass>public enum Rfc1349TrafficClass extends Enum<Rfc1349TrafficClass>
IPTOS_LOWCOST (0x02)IPTOS_RELIABILITY (0x04)IPTOS_THROUGHPUT (0x08)IPTOS_LOWDELAY (0x10)| Enum Constant | Description |
|---|---|
IPTOS_LOWCOST |
|
IPTOS_LOWDELAY |
|
IPTOS_NORMAL |
|
IPTOS_RELIABILITY |
|
IPTOS_THROUGHPUT |
| Modifier and Type | Method | Description |
|---|---|---|
int |
value() |
|
static Rfc1349TrafficClass |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Rfc1349TrafficClass[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rfc1349TrafficClass IPTOS_NORMAL
public static final Rfc1349TrafficClass IPTOS_LOWCOST
public static final Rfc1349TrafficClass IPTOS_LOWDELAY
public static final Rfc1349TrafficClass IPTOS_RELIABILITY
public static final Rfc1349TrafficClass IPTOS_THROUGHPUT
public static Rfc1349TrafficClass[] values()
for (Rfc1349TrafficClass c : Rfc1349TrafficClass.values()) System.out.println(c);
public static Rfc1349TrafficClass 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 value()
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.