public static final class IcmpV4TimestampReplyPacket.Builder extends AbstractPacket.AbstractBuilder
Constructor and Description |
---|
IcmpV4TimestampReplyPacket.Builder() |
Modifier and Type | Method and Description |
---|---|
IcmpV4TimestampReplyPacket |
build()
Build a packet object using values set to this object.
|
IcmpV4TimestampReplyPacket.Builder |
identifier(short identifier) |
IcmpV4TimestampReplyPacket.Builder |
originateTimestamp(int originateTimestamp) |
IcmpV4TimestampReplyPacket.Builder |
receiveTimestamp(int receiveTimestamp) |
IcmpV4TimestampReplyPacket.Builder |
sequenceNumber(short sequenceNumber) |
IcmpV4TimestampReplyPacket.Builder |
transmitTimestamp(int transmitTimestamp) |
get, getOuterOf, getPayloadBuilder, iterator, payloadBuilder
public IcmpV4TimestampReplyPacket.Builder identifier(short identifier)
identifier
- identifierpublic IcmpV4TimestampReplyPacket.Builder sequenceNumber(short sequenceNumber)
sequenceNumber
- sequenceNumberpublic IcmpV4TimestampReplyPacket.Builder originateTimestamp(int originateTimestamp)
originateTimestamp
- originateTimestamppublic IcmpV4TimestampReplyPacket.Builder receiveTimestamp(int receiveTimestamp)
receiveTimestamp
- receiveTimestamppublic IcmpV4TimestampReplyPacket.Builder transmitTimestamp(int transmitTimestamp)
transmitTimestamp
- transmitTimestamppublic IcmpV4TimestampReplyPacket build()
Packet.Builder
build
in interface Packet.Builder
build
in class AbstractPacket.AbstractBuilder
Copyright © 2011–2016 Pcap4J.org. All rights reserved.