|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Icmp.IcmpType>
org.jnetpcap.protocol.network.Icmp.IcmpType
public static enum Icmp.IcmpType
A table of IcmpTypes and their names.
| Enum Constant Summary | |
|---|---|
DESTINATION_UNREACHABLE
The DESTINATIO n_ unreachable. |
|
ECHO_REPLY
The ECH o_ reply. |
|
ECHO_REQUEST
The ECH o_ request. |
|
INFO_REQUEST
The INF o_ request. |
|
INFO_RESPONSE
The INF o_ response. |
|
PARAM_PROBLEM
The PARA m_ problem. |
|
REDIRECT
The REDIRECT. |
|
SOURCE_QUENCH
The SOURC e_ quench. |
|
TIME_EXCEEDED
The TIM e_ exceeded. |
|
TIMESTAMP_REQUEST
The TIMESTAM p_ request. |
|
TIMESTAMP_RESPONSE
The TIMESTAM p_ response. |
|
| Field Summary | |
|---|---|
static int |
DESTINATION_UNREACHABLE_ID
The Constant DESTINATION_UNREACHABLE_ID. |
static int |
ECHO_REPLY_ID
The Constant ECHO_REPLY_ID. |
static int |
ECHO_REQUEST_ID
The Constant ECHO_REQUEST_ID. |
int |
id
The id. |
static int |
INFO_REQUEST_ID
The Constant INFO_REQUEST_ID. |
static int |
INFO_RESPONSE_ID
The Constant INFO_RESPONSE_ID. |
static int |
PARAM_PROBLEM_ID
The Constant PARAM_PROBLEM_ID. |
static int |
REDIRECT_ID
The Constant REDIRECT_ID. |
static int |
SOURCE_QUENCH_ID
The Constant SOURCE_QUENCH_ID. |
static int |
TIME_EXCEEDED_ID
The Constant TIME_EXCEEDED_ID. |
static int |
TIMESTAMP_REQUEST_ID
The Constant TIMESTAMP_REQUEST_ID. |
static int |
TIMESTAMP_RESPONSE_ID
The Constant TIMESTAMP_RESPONSE_ID. |
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description. |
int |
getId()
Gets the id. |
static java.lang.String |
toString(int id)
To string. |
static Icmp.IcmpType |
valueOf(int type)
Value of. |
static Icmp.IcmpType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Icmp.IcmpType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Icmp.IcmpType DESTINATION_UNREACHABLE
public static final Icmp.IcmpType ECHO_REPLY
public static final Icmp.IcmpType ECHO_REQUEST
public static final Icmp.IcmpType INFO_REQUEST
public static final Icmp.IcmpType INFO_RESPONSE
public static final Icmp.IcmpType PARAM_PROBLEM
public static final Icmp.IcmpType REDIRECT
public static final Icmp.IcmpType SOURCE_QUENCH
public static final Icmp.IcmpType TIME_EXCEEDED
public static final Icmp.IcmpType TIMESTAMP_REQUEST
public static final Icmp.IcmpType TIMESTAMP_RESPONSE
| Field Detail |
|---|
public static final int DESTINATION_UNREACHABLE_ID
public static final int ECHO_REPLY_ID
public static final int ECHO_REQUEST_ID
public static final int INFO_REQUEST_ID
public static final int INFO_RESPONSE_ID
public static final int PARAM_PROBLEM_ID
public static final int REDIRECT_ID
public static final int SOURCE_QUENCH_ID
public static final int TIME_EXCEEDED_ID
public static final int TIMESTAMP_REQUEST_ID
public static final int TIMESTAMP_RESPONSE_ID
public final int id
| Method Detail |
|---|
public static Icmp.IcmpType[] values()
for (Icmp.IcmpType c : Icmp.IcmpType.values()) System.out.println(c);
public static Icmp.IcmpType 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 name
java.lang.NullPointerException - if the argument is nullpublic static java.lang.String toString(int id)
id - the id
public static Icmp.IcmpType valueOf(int type)
type - the type
public final java.lang.String getDescription()
public final int getId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||