com.ibm.as400.util.commtrace

Class IP4Packet



  • public class IP4Packet
    extends IPPacket
    A Internet Protocolv4 IPPacket.
    Extends Packets' methods to parse, print, and allow easy access to the IPv4 IPPacket
    It has one constructor which takes a byte array of packet data as its only argument.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IP4Packet(byte[] data)
      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

      • IP4Packet

        public IP4Packet(byte[] data)
        Creates and parses the data of this header.
        Parameters:
        data - The raw data of this header.
    • 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.