com.ibm.as400.util.commtrace
Class EchoReplyRequest

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.Message
              extended by com.ibm.as400.util.commtrace.EchoReplyRequest

public class EchoReplyRequest
extends Message

A Echo Reply Request Header.
Extends Message's methods to parse, print, and allow easy access to the Echo Reply Request Header.


Field Summary
Modifier and Type Field and Description
 
Fields inherited from class com.ibm.as400.util.commtrace.Message
DSTUNR, ECHOREQ, ECHQRPL, MLTLSTDNE, MLTLSTQRY, MLTLSTRPT, MSGUNK, NGHADV, NGHSOL, PARMPROB, PKTTOBIG, REDR, RTRADV, RTRSOL, TIMEEXC
 
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
Modifier and Type Method and Description
 int getHeaderLen()
          Returns the length of this header.
 String getIdentifier()
          Returns the identifier of this EchoReplyRequest header.
 String getSequenceNumber()
          Returns the sequence number of this EchoReplyRequest header.
 String toString(FormatProperties filter)
          Returns a printable representation of this header.
 
Methods inherited from class com.ibm.as400.util.commtrace.ICMP6Header
getChecksum, getCode, getNextHeader, 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

getHeaderLen

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

Overrides:
getHeaderLen in class ICMP6Header
Returns:
Will always return 32.

toString

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

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

getIdentifier

public String getIdentifier()
Returns the identifier of this EchoReplyRequest header.

Returns:
String containing a decimal representation of the identifier.

getSequenceNumber

public String getSequenceNumber()
Returns the sequence number of this EchoReplyRequest header.

Returns:
String containing a decimal representation of the sequence number.