public static final class UnknownIpV4Option.Builder extends Object implements LengthBuilder<UnknownIpV4Option>
| Constructor and Description |
|---|
UnknownIpV4Option.Builder() |
| Modifier and Type | Method and Description |
|---|---|
UnknownIpV4Option |
build() |
UnknownIpV4Option.Builder |
correctLengthAtBuild(boolean correctLengthAtBuild) |
UnknownIpV4Option.Builder |
data(byte[] data) |
UnknownIpV4Option.Builder |
length(byte length) |
UnknownIpV4Option.Builder |
type(IpV4OptionType type) |
public UnknownIpV4Option.Builder type(IpV4OptionType type)
type - typepublic UnknownIpV4Option.Builder length(byte length)
length - lengthpublic UnknownIpV4Option.Builder data(byte[] data)
data - datapublic UnknownIpV4Option.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
correctLengthAtBuild in interface LengthBuilder<UnknownIpV4Option>correctLengthAtBuild - correctLengthAtBuildpublic UnknownIpV4Option build()
build in interface LengthBuilder<UnknownIpV4Option>Copyright © 2011–2016 Pcap4J.org. All rights reserved.