Class IcmpIdentifiablePacket
java.lang.Object
org.pcap4j.packet.AbstractPacket
org.pcap4j.packet.IcmpIdentifiablePacket
- All Implemented Interfaces:
Serializable, Iterable<Packet>, Packet
- Direct Known Subclasses:
IcmpV4EchoPacket, IcmpV4EchoReplyPacket, IcmpV4InformationReplyPacket, IcmpV4InformationRequestPacket, IcmpV4TimestampPacket, IcmpV4TimestampReplyPacket, IcmpV6EchoReplyPacket, IcmpV6EchoRequestPacket
- Since:
- pcap4j 0.9.11
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static classNested classes/interfaces inherited from class AbstractPacket
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeaderNested classes/interfaces inherited from interface Packet
Packet.Header -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
Method Summary
Modifier and TypeMethodDescriptionReturns the Header object representing this packet's header.Methods inherited from class AbstractPacket
buildHexString, buildRawData, buildString, calcHashCode, calcLength, contains, equals, get, getBuilder, getOuterOf, getPayload, getRawData, hashCode, iterator, length, toHexString, toStringMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
IcmpIdentifiablePacket
protected IcmpIdentifiablePacket() -
IcmpIdentifiablePacket
-
-
Method Details
-
getHeader
Description copied from class:AbstractPacketReturns the Header object representing this packet's header. This subclass have to override this method if the packet represented by the subclass has a header.- Specified by:
getHeaderin interfacePacket- Overrides:
getHeaderin classAbstractPacket- Returns:
- the Header object representing this packet's header. May be null if the header doesn't exist
-