public static final class TcpSackOption.Builder extends Object implements LengthBuilder<TcpSackOption>
Constructor and Description |
---|
TcpSackOption.Builder() |
Modifier and Type | Method and Description |
---|---|
TcpSackOption |
build() |
TcpSackOption.Builder |
correctLengthAtBuild(boolean correctLengthAtBuild) |
TcpSackOption.Builder |
length(byte length) |
TcpSackOption.Builder |
sacks(List<TcpSackOption.Sack> sacks) |
public TcpSackOption.Builder length(byte length)
length
- lengthpublic TcpSackOption.Builder sacks(List<TcpSackOption.Sack> sacks)
sacks
- sackspublic TcpSackOption.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
correctLengthAtBuild
in interface LengthBuilder<TcpSackOption>
correctLengthAtBuild
- correctLengthAtBuildpublic TcpSackOption build()
build
in interface LengthBuilder<TcpSackOption>
Copyright © 2011–2016 Pcap4J.org. All rights reserved.