com.ibm.as400.util.commtrace

Class IPPacket

    • Constructor Detail

      • IPPacket

        public IPPacket()
        Default constructor. Creates a simple packet.
    • Method Detail

      • toString

        public String toString(FormatProperties filter)
        Returns a printable representation of this packet.
        Parameters:
        filter - FormatProperties object for filtering this packet.
        Returns:
        Returns a string representation of this packet.
      • getHeader

        public Header getHeader()
        Returns the header of this packet.
        Returns:
        Header the header of this packet.
      • getName

        public String getName()
        The name of this packet
        Returns:
        The name
      • getType

        public int getType()
        Returns the type of this packet.
        Returns:
        The type of this packet.
      • setType

        public void setType(int type)
        Sets the type of this packet.
        Parameters:
        type - the type of this packet.