Package org.pcap4j.packet
Class IpV4InternetTimestampOption.Builder
- java.lang.Object
-
- org.pcap4j.packet.IpV4InternetTimestampOption.Builder
-
- All Implemented Interfaces:
LengthBuilder<IpV4InternetTimestampOption>
- Enclosing class:
- IpV4InternetTimestampOption
public static final class IpV4InternetTimestampOption.Builder extends java.lang.Object implements LengthBuilder<IpV4InternetTimestampOption>
- Since:
- pcap4j 0.9.11
- Author:
- Kaito Yamada
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IpV4InternetTimestampOption
build()
IpV4InternetTimestampOption.Builder
correctLengthAtBuild(boolean correctLengthAtBuild)
IpV4InternetTimestampOption.Builder
data(IpV4InternetTimestampOption.IpV4InternetTimestampOptionData data)
IpV4InternetTimestampOption.Builder
flag(IpV4InternetTimestampOptionFlag flag)
IpV4InternetTimestampOption.Builder
length(byte length)
IpV4InternetTimestampOption.Builder
overflow(byte overflow)
IpV4InternetTimestampOption.Builder
pointer(byte pointer)
-
-
-
Method Detail
-
length
public IpV4InternetTimestampOption.Builder length(byte length)
- Parameters:
length
- length- Returns:
- this Builder object for method chaining.
-
pointer
public IpV4InternetTimestampOption.Builder pointer(byte pointer)
- Parameters:
pointer
- pointer- Returns:
- this Builder object for method chaining.
-
overflow
public IpV4InternetTimestampOption.Builder overflow(byte overflow)
- Parameters:
overflow
- overflow- Returns:
- this Builder object for method chaining.
-
flag
public IpV4InternetTimestampOption.Builder flag(IpV4InternetTimestampOptionFlag flag)
- Parameters:
flag
- flag- Returns:
- this Builder object for method chaining.
-
data
public IpV4InternetTimestampOption.Builder data(IpV4InternetTimestampOption.IpV4InternetTimestampOptionData data)
- Parameters:
data
- data- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
public IpV4InternetTimestampOption.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
- Specified by:
correctLengthAtBuild
in interfaceLengthBuilder<IpV4InternetTimestampOption>
- Parameters:
correctLengthAtBuild
- correctLengthAtBuild- Returns:
- LengthBuilder
-
build
public IpV4InternetTimestampOption build()
- Specified by:
build
in interfaceLengthBuilder<IpV4InternetTimestampOption>
- Returns:
- a new object.
-
-