Package pcap.codec.ip.ip6
Class HopByHopOptions
java.lang.Object
pcap.codec.AbstractPacket
pcap.codec.ip.ip6.Options
pcap.codec.ip.ip6.HopByHopOptions
@Inclubating public class HopByHopOptions extends Options
- Author:
- Ardika Rommy Sanjaya
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HopByHopOptions.Builder
static class
HopByHopOptions.Header
-
Field Summary
-
Method Summary
Modifier and Type Method Description Memory
buffer()
HopByHopOptions.Builder
builder()
HopByHopOptions.Header
header()
Returns thePacket.Header
object representing this packet's header.Packet
payload()
Returns thePacket
object representing this packet's payload.java.lang.String
toString()
Methods inherited from class pcap.codec.AbstractPacket
collectList, collectSet, contains, forEach, get, getFirst, getLast, iterator, map, payloadBuffer
-
Method Details
-
header
Description copied from interface:Packet
Returns thePacket.Header
object representing this packet's header.- Returns:
- returns null if header doesn't exist,
Packet.Header
object otherwise.
-
payload
Description copied from interface:Packet
Returns thePacket
object representing this packet's payload.- Returns:
- returns null if a payload doesn't exits,
Packet
object otherwise.
-
builder
- Specified by:
builder
in classAbstractPacket
-
buffer
- Specified by:
buffer
in classAbstractPacket
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-