com.ibm.as400.util.commtrace
Class ARPPacket

java.lang.Object
  extended by com.ibm.as400.util.commtrace.IPPacket
      extended by com.ibm.as400.util.commtrace.ARPPacket

public class ARPPacket
extends IPPacket

An Address Resolution Protocol(ARP)/Reverse Address Resolution Protocol(RARP) IPPacket.
Extends IPPacket's methods to parse, print, and allow easy access to the ARP IPPacket.


Field Summary
 
Fields inherited from class com.ibm.as400.util.commtrace.IPPacket
ARP, IP4, IP6, RARP, UNK
 
Constructor Summary
ARPPacket(byte[] data, int frmtype)
          Creates and parses the data of this header.
 
Method Summary
 String toString(FormatProperties filter)
          Returns a printable representation of this packet.
 
Methods inherited from class com.ibm.as400.util.commtrace.IPPacket
getHeader, getName, getType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ARPPacket

public ARPPacket(byte[] data,
                 int frmtype)
Creates and parses the data of this header.

Parameters:
data - The packet of data.
frmtype - The frame type of this packet.
Method Detail

toString

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

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