com.ibm.as400.util.commtrace
Class ARPPacket
java.lang.Object
com.ibm.as400.util.commtrace.IPPacket
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.
Constructor Summary |
ARPPacket(byte[] data,
int frmtype)
Creates and parses the data of this header. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.