public static final class IpV6ExtRoutingPacket.Builder extends AbstractPacket.AbstractBuilder implements LengthBuilder<IpV6ExtRoutingPacket>
Constructor and Description |
---|
IpV6ExtRoutingPacket.Builder() |
IpV6ExtRoutingPacket.Builder(IpV6ExtRoutingPacket packet) |
Modifier and Type | Method and Description |
---|---|
IpV6ExtRoutingPacket |
build()
Build a packet object using values set to this object.
|
IpV6ExtRoutingPacket.Builder |
correctLengthAtBuild(boolean correctLengthAtBuild) |
IpV6ExtRoutingPacket.Builder |
data(IpV6ExtRoutingPacket.IpV6RoutingData data) |
Packet.Builder |
getPayloadBuilder()
Get the payload builder of this object.
|
IpV6ExtRoutingPacket.Builder |
hdrExtLen(byte hdrExtLen) |
IpV6ExtRoutingPacket.Builder |
nextHeader(IpNumber nextHeader) |
IpV6ExtRoutingPacket.Builder |
payloadBuilder(Packet.Builder payloadBuilder)
Set the payload builder.
|
IpV6ExtRoutingPacket.Builder |
routingType(IpV6RoutingType routingType) |
IpV6ExtRoutingPacket.Builder |
segmentsLeft(byte segmentsLeft) |
get, getOuterOf, iterator
public IpV6ExtRoutingPacket.Builder()
public IpV6ExtRoutingPacket.Builder(IpV6ExtRoutingPacket packet)
packet
- packetpublic IpV6ExtRoutingPacket.Builder nextHeader(IpNumber nextHeader)
nextHeader
- nextHeaderpublic IpV6ExtRoutingPacket.Builder hdrExtLen(byte hdrExtLen)
hdrExtLen
- hdrExtLenpublic IpV6ExtRoutingPacket.Builder routingType(IpV6RoutingType routingType)
routingType
- routingTypepublic IpV6ExtRoutingPacket.Builder segmentsLeft(byte segmentsLeft)
segmentsLeft
- segmentsLeftpublic IpV6ExtRoutingPacket.Builder data(IpV6ExtRoutingPacket.IpV6RoutingData data)
data
- datapublic IpV6ExtRoutingPacket.Builder payloadBuilder(Packet.Builder payloadBuilder)
Packet.Builder
payloadBuilder
in interface Packet.Builder
payloadBuilder
in class AbstractPacket.AbstractBuilder
payloadBuilder
- a Builder object to setpublic Packet.Builder getPayloadBuilder()
Packet.Builder
getPayloadBuilder
in interface Packet.Builder
getPayloadBuilder
in class AbstractPacket.AbstractBuilder
public IpV6ExtRoutingPacket.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
correctLengthAtBuild
in interface LengthBuilder<IpV6ExtRoutingPacket>
correctLengthAtBuild
- correctLengthAtBuildpublic IpV6ExtRoutingPacket build()
Packet.Builder
build
in interface LengthBuilder<IpV6ExtRoutingPacket>
build
in interface Packet.Builder
build
in class AbstractPacket.AbstractBuilder
Copyright © 2011–2016 Pcap4J.org. All rights reserved.