com.ibm.as400.util.commtrace
Class IP6Header
- java.lang.Object
-
- com.ibm.as400.util.commtrace.Header
-
- com.ibm.as400.util.commtrace.IP6Header
-
public class IP6Header extends Header
An IPv6 Header.
Extends Header's methods to parse, print, and allow easy access to the IPv6 Header.
-
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getDstAddr()
Returns the destination IPv6 Address of this Headerjava.lang.String
getFlowLabel()
Returns the flow label of this Header.int
getHeaderLen()
Returns the length of this header.java.lang.String
getHopLimit()
Returns the hop limit of this Header.Header
getNextHeader()
Returns the next header in this packet.java.lang.String
getNextHeaderDec()
Returns the next header identifier.java.lang.String
getPayloadLength()
Returns the payload length of this Header.java.lang.String
getSrcAddr()
Returns the source IPv6 Address of this Header.java.lang.String
getTrafficClass()
Returns the traffic class of this Header.java.lang.String
getVersion()
Returns the version of this Header.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 320.
-
getNextHeader
public Header getNextHeader()
Description copied from class:Header
Returns the next header in this packet.- Overrides:
getNextHeader
in classHeader
- Returns:
- Will always return null.
-
toString
public java.lang.String toString(FormatProperties filter)
Returns a printable representation of this header.
-
getVersion
public java.lang.String getVersion()
Returns the version of this Header.- Returns:
- String containing a decimal representation of the version.
-
getTrafficClass
public java.lang.String getTrafficClass()
Returns the traffic class of this Header.- Returns:
- String containing a decimal representation of the traffic class.
-
getFlowLabel
public java.lang.String getFlowLabel()
Returns the flow label of this Header.- Returns:
- String containing a decimal representation of the flow label.
-
getPayloadLength
public java.lang.String getPayloadLength()
Returns the payload length of this Header.- Returns:
- String containing a decimal representation of the payload length.
-
getNextHeaderDec
public java.lang.String getNextHeaderDec()
Returns the next header identifier.- Returns:
- String containing a decimal representation of the next header identifier.
-
getHopLimit
public java.lang.String getHopLimit()
Returns the hop limit of this Header.- Returns:
- String containing a decimal representation of the hop limit.
-
getSrcAddr
public java.lang.String getSrcAddr()
Returns the source IPv6 Address of this Header.- Returns:
- String containing a delimited decimal representation of the source address.
-
getDstAddr
public java.lang.String getDstAddr()
Returns the destination IPv6 Address of this Header- Returns:
- String containing a delimited decimal representation of the destination address
-
-