Class IcmpV6RouterSolicitationPacket.Builder
java.lang.Object
org.pcap4j.packet.AbstractPacket.AbstractBuilder
org.pcap4j.packet.IcmpV6RouterSolicitationPacket.Builder
- All Implemented Interfaces:
Iterable<Packet.Builder>, Packet.Builder
- Enclosing class:
IcmpV6RouterSolicitationPacket
public static final class IcmpV6RouterSolicitationPacket.Builder
extends AbstractPacket.AbstractBuilder
- Since:
- pcap4j 0.9.15
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractPacket.AbstractBuilder
get, getOuterOf, getPayloadBuilder, iterator, payloadBuilderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
reserved
private int reserved -
options
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
reserved
- Parameters:
reserved- reserved- Returns:
- this Builder object for method chaining.
-
options
public IcmpV6RouterSolicitationPacket.Builder options(List<IcmpV6CommonPacket.IpV6NeighborDiscoveryOption> options) - Parameters:
options- options- Returns:
- this Builder object for method chaining.
-
build
Description copied from interface:Packet.BuilderBuild a packet object using values set to this object.- Specified by:
buildin interfacePacket.Builder- Specified by:
buildin classAbstractPacket.AbstractBuilder- Returns:
- a new Packet object
-