com.ibm.as400.util.commtrace
Class IP4Packet
java.lang.Object
com.ibm.as400.util.commtrace.IPPacket
com.ibm.as400.util.commtrace.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 |
IP4Packet(byte[] data)
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 |
IP4Packet
public IP4Packet(byte[] data)
- Creates and parses the data of this header.
- Parameters:
data
- The raw data of this header.
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.