com.ibm.as400.util.commtrace

Class 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

      Constructors 
      Constructor and Description
      ARPPacket(byte[] data, int frmtype)
      Creates and parses the data of this header.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String toString(FormatProperties filter)
      Returns a printable representation of this packet.
      • 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 java.lang.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.