|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IcmpStatus>
com.veraxsystems.icmp.IcmpStatus
public enum IcmpStatus
The set of expected ICMP response statuses. They are mapped directly to ICMP response types/codes as defined in RFC792, RFC1256, RFC950, RFC1393, RFC1475, RFC1788, RFC2521, RFC4065. The interpretation is:
EchoReply
- successful response from host
UnexpectedResponse
- unknown response or response not received
Method Summary | |
---|---|
int |
getValue()
Get integer code of enumeration |
static IcmpStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IcmpStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 IcmpStatus EchoReply
public static final IcmpStatus NetUnreachable
public static final IcmpStatus HostUnreachable
public static final IcmpStatus ProtocolUnreachable
public static final IcmpStatus PortUnreachable
public static final IcmpStatus FragmentationNeeded
public static final IcmpStatus SourceRouteFailed
public static final IcmpStatus DestinationNetworkUnknown
public static final IcmpStatus DestinationHostUnknown
public static final IcmpStatus SourceHostIsolated
public static final IcmpStatus DestinationNetworkProhibited
public static final IcmpStatus DestinationHostProhibited
public static final IcmpStatus DestinationNetworkUnreachableForService
public static final IcmpStatus DestinationHostUnreachableFforService
public static final IcmpStatus CommunicationProhibited
public static final IcmpStatus HostPrecedenceViolation
public static final IcmpStatus PrecedenceCutoffInEffect
public static final IcmpStatus SourceQuench
public static final IcmpStatus RedirectDatagramForNetwork
public static final IcmpStatus RedirectDatagramForHost
public static final IcmpStatus RedirectDatagramTypeServiceNetwork
public static final IcmpStatus RedirectDatagramTypeServiceHost
public static final IcmpStatus TimeToLiveExceeded
public static final IcmpStatus FragmentReassemblyTimeExceeded
public static final IcmpStatus MessageParameterProblem
public static final IcmpStatus MissingRequiredMessageOption
public static final IcmpStatus BadMessageLength
public static final IcmpStatus DatagramConverionError
public static final IcmpStatus UnexpectedResponse
Method Detail |
---|
public static IcmpStatus[] values()
for (IcmpStatus c : IcmpStatus.values()) System.out.println(c);
public static IcmpStatus 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 int getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |