public static final class BsdLoopbackPacket.Builder extends AbstractPacket.AbstractBuilder
Constructor and Description |
---|
BsdLoopbackPacket.Builder() |
Modifier and Type | Method and Description |
---|---|
BsdLoopbackPacket |
build()
Build a packet object using values set to this object.
|
Packet.Builder |
getPayloadBuilder()
Get the payload builder of this object.
|
BsdLoopbackPacket.Builder |
payloadBuilder(Packet.Builder payloadBuilder)
Set the payload builder.
|
BsdLoopbackPacket.Builder |
protocolFamily(ProtocolFamily protocolFamily) |
get, getOuterOf, iterator
public BsdLoopbackPacket.Builder protocolFamily(ProtocolFamily protocolFamily)
protocolFamily
- protocolFamilypublic BsdLoopbackPacket.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 BsdLoopbackPacket build()
Packet.Builder
build
in interface Packet.Builder
build
in class AbstractPacket.AbstractBuilder
Copyright © 2011–2016 Pcap4J.org. All rights reserved.