com.ibm.as400.util.commtrace
Class MTU

java.lang.Object
  extended by com.ibm.as400.util.commtrace.Header
      extended by com.ibm.as400.util.commtrace.ICMP6Header
          extended by com.ibm.as400.util.commtrace.NDOption
              extended by com.ibm.as400.util.commtrace.MTU

public class MTU
extends NDOption

A MTU Header.
Extends NDOption's methods to parse, print, and allow easy access to the MTU Header.


Field Summary
 
Fields inherited from class com.ibm.as400.util.commtrace.NDOption
MTU, PREFIXINFO, REDIRECTED, SOURCELLA, TARGETLLA
 
Fields inherited from class com.ibm.as400.util.commtrace.Header
EXTAH, EXTDEST, EXTESP, EXTFRAG, EXTHOPBYHOP, EXTROUTE, ICMP4, ICMP6, IP4, IP6, TCP, UDP, UNK
 
Method Summary
 String getMTU()
          Returns the MTU of MTU header.
 String toString(FormatProperties filter)
          Returns a printable representation of this header.
 
Methods inherited from class com.ibm.as400.util.commtrace.NDOption
getHeaderLen, getLength, getNDType, getNextHeader
 
Methods inherited from class com.ibm.as400.util.commtrace.ICMP6Header
getChecksum, getCode, getTypeField
 
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

toString

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

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

getMTU

public String getMTU()
Returns the MTU of MTU header.

Returns:
String containing a decimal representation of the MTU.