public final class IcmpV4TimestampReplyPacket extends AbstractPacket
Modifier and Type | Class and Description |
---|---|
static class |
IcmpV4TimestampReplyPacket.Builder |
static class |
IcmpV4TimestampReplyPacket.IcmpV4TimestampReplyHeader |
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeader
Packet.Header
Modifier and Type | Method and Description |
---|---|
IcmpV4TimestampReplyPacket.Builder |
getBuilder()
Returns a new Builder object populated with this object's fields' values.
|
IcmpV4TimestampReplyPacket.IcmpV4TimestampReplyHeader |
getHeader()
Returns the Header object representing this packet's header.
|
static IcmpV4TimestampReplyPacket |
newPacket(byte[] rawData,
int offset,
int length)
A static factory method.
|
buildHexString, buildRawData, buildString, calcHashCode, calcLength, contains, equals, get, getOuterOf, getPayload, getRawData, hashCode, iterator, length, toHexString, toString
public static IcmpV4TimestampReplyPacket newPacket(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthIllegalRawDataException
- if parsing the raw data fails.public IcmpV4TimestampReplyPacket.IcmpV4TimestampReplyHeader getHeader()
AbstractPacket
public IcmpV4TimestampReplyPacket.Builder getBuilder()
Packet
getBuilder
in interface Packet
getBuilder
in class AbstractPacket
Copyright © 2011–2016 Pcap4J.org. All rights reserved.