com.ibm.as400.util.commtrace
Class IP6Header

java.lang.Object
  extended by com.ibm.as400.util.commtrace.Header
      extended by 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.


Field Summary
Modifier and Type Field and Description
 
Fields inherited from class com.ibm.as400.util.commtrace.Header
EXTDEST, EXTHOPBYHOP, ICMP4, ICMP6, IP4, IP6, UNK
 
Method Summary
Modifier and Type Method and Description
 String getDstAddr()
          Returns the destination IPv6 Address of this Header
 String getFlowLabel()
          Returns the flow label of this Header.
 int getHeaderLen()
          Returns the length of this header.
 String getHopLimit()
          Returns the hop limit of this Header.
 Header getNextHeader()
          Returns the next header in this packet.
 String getNextHeaderDec()
          Returns the next header identifier.
 String getPayloadLength()
          Returns the payload length of this Header.
 String getSrcAddr()
          Returns the source IPv6 Address of this Header.
 String getTrafficClass()
          Returns the traffic class of this Header.
 String getVersion()
          Returns the version of this Header.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getHeaderLen

public int getHeaderLen()
Returns the length of this header.

Overrides:
getHeaderLen in class Header
Returns:
Will always return 320.

getNextHeader

public Header getNextHeader()
Description copied from class: Header
Returns the next header in this packet.

Overrides:
getNextHeader in class Header
Returns:
Will always return null.

toString

public String toString(FormatProperties filter)
Returns a printable representation of this header.

Overrides:
toString in class Header
Parameters:
filter - FormatProperties object for filtering this header.
Returns:
Returns a string representation of this header.

getVersion

public String getVersion()
Returns the version of this Header.

Returns:
String containing a decimal representation of the version.

getTrafficClass

public String getTrafficClass()
Returns the traffic class of this Header.

Returns:
String containing a decimal representation of the traffic class.

getFlowLabel

public String getFlowLabel()
Returns the flow label of this Header.

Returns:
String containing a decimal representation of the flow label.

getPayloadLength

public String getPayloadLength()
Returns the payload length of this Header.

Returns:
String containing a decimal representation of the payload length.

getNextHeaderDec

public String getNextHeaderDec()
Returns the next header identifier.

Returns:
String containing a decimal representation of the next header identifier.

getHopLimit

public String getHopLimit()
Returns the hop limit of this Header.

Returns:
String containing a decimal representation of the hop limit.

getSrcAddr

public String getSrcAddr()
Returns the source IPv6 Address of this Header.

Returns:
String containing a delimited decimal representation of the source address.

getDstAddr

public String getDstAddr()
Returns the destination IPv6 Address of this Header

Returns:
String containing a delimited decimal representation of the destination address