|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.clackrouter.packets.VNSICMPType
public class VNSICMPType
Encapsulates Internet Control Message Protocol type. Defined in RFC 792.
Field Summary | |
---|---|
static byte |
ECHO_REPLY
ICMP message types. |
static byte |
ECHO_REQUEST
|
static VNSICMPType |
EchoReply
|
static VNSICMPType |
EchoRequest
|
static byte |
INFO_REQUEST
|
static byte |
INFO_REQUEST_REPLY
|
static VNSICMPType |
InfoRequest
|
static VNSICMPType |
InfoRequestReply
|
static byte |
MASK_REQUEST
|
static byte |
MASK_REQUEST_REPLY
|
static VNSICMPType |
MaskRequest
|
static VNSICMPType |
MaskRequestReply
|
static byte |
PARAMETER_PROBLEM
|
static VNSICMPType |
ParameterProblem
|
static VNSICMPType |
Redirect
|
static byte |
REDIRECT
|
static byte |
ROUTER_ADVERT
|
static byte |
ROUTER_SOLICIT
|
static VNSICMPType |
RouterAdvert
|
static VNSICMPType |
RouterSolicit
|
static byte |
SOURCE_QUENCH
|
static VNSICMPType |
SourceQuench
|
static byte |
TIME_EXCEEDED
|
static byte |
TIME_STAMP
|
static byte |
TIME_STAMP_REPLY
|
static VNSICMPType |
TimeExceeded
|
static VNSICMPType |
TimeStamp
|
static VNSICMPType |
TimeStampReply
|
static VNSICMPType |
Unreach
|
static byte |
UNREACH
|
Method Summary | |
---|---|
static VNSICMPType |
convert(byte type)
Convert a byte version of the type to its object version. |
byte |
getValue()
Returns protocol-defined value of the type. |
java.lang.String |
toString()
Returns the human-readable name of the type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte ECHO_REPLY
public static final byte UNREACH
public static final byte SOURCE_QUENCH
public static final byte REDIRECT
public static final byte ECHO_REQUEST
public static final byte ROUTER_ADVERT
public static final byte ROUTER_SOLICIT
public static final byte TIME_EXCEEDED
public static final byte PARAMETER_PROBLEM
public static final byte TIME_STAMP
public static final byte TIME_STAMP_REPLY
public static final byte INFO_REQUEST
public static final byte INFO_REQUEST_REPLY
public static final byte MASK_REQUEST
public static final byte MASK_REQUEST_REPLY
public static final VNSICMPType EchoReply
public static final VNSICMPType Unreach
public static final VNSICMPType SourceQuench
public static final VNSICMPType Redirect
public static final VNSICMPType EchoRequest
public static final VNSICMPType RouterAdvert
public static final VNSICMPType RouterSolicit
public static final VNSICMPType TimeExceeded
public static final VNSICMPType ParameterProblem
public static final VNSICMPType TimeStamp
public static final VNSICMPType TimeStampReply
public static final VNSICMPType InfoRequest
public static final VNSICMPType InfoRequestReply
public static final VNSICMPType MaskRequest
public static final VNSICMPType MaskRequestReply
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public byte getValue()
public static VNSICMPType convert(byte type)
type
- Type of the ICMP packet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |