com.ibm.as400.util.commtrace
Class ICMP6Header
- java.lang.Object
-
- com.ibm.as400.util.commtrace.Header
-
- com.ibm.as400.util.commtrace.ICMP6Header
-
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getChecksum()
Returns the checksum of this ICMPv6 Header.java.lang.String
getCode()
Returns the code of this ICMPv6 Header.int
getHeaderLen()
Returns the length of this header.Header
getNextHeader()
Returns the next header in the packet.java.lang.String
getTypeField()
Returns the type of this ICMPv6 Header from the trace.java.lang.String
toString(FormatProperties filter)
Returns a printable representation of this header.-
Methods inherited from class com.ibm.as400.util.commtrace.Header
getHeaderData, getName, getPayload, getPayLoad, getPayloadBytes, getPayloadHexString, getType, printHexHeader, toHexString, toString
-
-
-
-
Method Detail
-
getHeaderLen
public int getHeaderLen()
Returns the length of this header.- Overrides:
getHeaderLen
in classHeader
- Returns:
- Will always return 32.
-
getNextHeader
public Header getNextHeader()
Returns the next header in the packet.- Overrides:
getNextHeader
in classHeader
- Returns:
- Will always return a Message Header.
-
toString
public java.lang.String toString(FormatProperties filter)
Returns a printable representation of this header.
-
getTypeField
public java.lang.String getTypeField()
Returns the type of this ICMPv6 Header from the trace.- Returns:
- String containing a decimal representation of the type of this header.
-
getCode
public java.lang.String getCode()
Returns the code of this ICMPv6 Header.- Returns:
- String containing a decimal representation of the code for this header.
-
getChecksum
public java.lang.String getChecksum()
Returns the checksum of this ICMPv6 Header.- Returns:
- String containing a decimal representation of the checksum for this header.
-
-