Package pcap.codec.icmp
Class Icmp4
java.lang.Object
pcap.codec.AbstractPacket
pcap.codec.icmp.Icmp4
@Inclubating public class Icmp4 extends AbstractPacket
- Author:
- Ardika Rommy Sanjaya
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Icmp4.Builder
static class
Icmp4.Header
-
Field Summary
-
Method Summary
Modifier and Type Method Description Memory
buffer()
Icmp4.Builder
builder()
Icmp4.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
-