Module org.pcap4j.core
Package org.pcap4j.packet
Class IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder
java.lang.Object
org.pcap4j.packet.IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder
- All Implemented Interfaces:
LengthBuilder<IpV6NeighborDiscoverySourceLinkLayerAddressOption>
- Enclosing class:
IpV6NeighborDiscoverySourceLinkLayerAddressOption
public static final class IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder
extends Object
implements LengthBuilder<IpV6NeighborDiscoverySourceLinkLayerAddressOption>
- 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 IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder linkLayerAddress(byte[] linkLayerAddress) - Parameters:
linkLayerAddress- linkLayerAddress- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
public IpV6NeighborDiscoverySourceLinkLayerAddressOption.Builder correctLengthAtBuild(boolean correctLengthAtBuild) - Specified by:
correctLengthAtBuildin interfaceLengthBuilder<IpV6NeighborDiscoverySourceLinkLayerAddressOption>- Parameters:
correctLengthAtBuild- correctLengthAtBuild- Returns:
- LengthBuilder
-
build
- Specified by:
buildin interfaceLengthBuilder<IpV6NeighborDiscoverySourceLinkLayerAddressOption>- Returns:
- a new object.
-