Module org.pcap4j.core
Package org.pcap4j.packet
Class IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder
java.lang.Object
org.pcap4j.packet.IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder
- All Implemented Interfaces:
LengthBuilder<IpV6NeighborDiscoveryTargetLinkLayerAddressOption>
- Enclosing class:
IpV6NeighborDiscoveryTargetLinkLayerAddressOption
public static final class IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder
extends Object
implements LengthBuilder<IpV6NeighborDiscoveryTargetLinkLayerAddressOption>
- Since:
- pcap4j 0.9.15
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate byteprivate byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()correctLengthAtBuild(boolean correctLengthAtBuild) length(byte length) linkLayerAddress(byte[] linkLayerAddress)
-
Field Details
-
length
private byte length -
linkLayerAddress
private byte[] linkLayerAddress -
correctLengthAtBuild
private boolean correctLengthAtBuild
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
length
- Parameters:
length- length- Returns:
- this Builder object for method chaining.
-
linkLayerAddress
public IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder linkLayerAddress(byte[] linkLayerAddress) - Parameters:
linkLayerAddress- linkLayerAddress- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
public IpV6NeighborDiscoveryTargetLinkLayerAddressOption.Builder correctLengthAtBuild(boolean correctLengthAtBuild) - Specified by:
correctLengthAtBuildin interfaceLengthBuilder<IpV6NeighborDiscoveryTargetLinkLayerAddressOption>- Parameters:
correctLengthAtBuild- correctLengthAtBuild- Returns:
- LengthBuilder
-
build
- Specified by:
buildin interfaceLengthBuilder<IpV6NeighborDiscoveryTargetLinkLayerAddressOption>- Returns:
- a new object.
-