Class IcmpV4InvokingPacketPacket
java.lang.Object
org.pcap4j.packet.AbstractPacket
org.pcap4j.packet.IcmpV4InvokingPacketPacket
- All Implemented Interfaces:
Serializable, Iterable<Packet>, Packet
- Direct Known Subclasses:
IcmpV4DestinationUnreachablePacket, IcmpV4ParameterProblemPacket, IcmpV4RedirectPacket, IcmpV4SourceQuenchPacket, IcmpV4TimeExceededPacket
- Since:
- pcap4j 0.9.15
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(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
ConstructorsModifierConstructorDescriptionprotectedprotectedIcmpV4InvokingPacketPacket(byte[] rawData, int payloadOffset, int payloadLength) protected -
Method Summary
Modifier and TypeMethodDescriptionReturns the Packet object representing this packet's payload.Methods inherited from class AbstractPacket
buildHexString, buildRawData, buildString, calcHashCode, calcLength, contains, equals, get, getBuilder, getHeader, getOuterOf, getRawData, hashCode, iterator, length, toHexString, toStringMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
payload
-
-
Constructor Details
-
IcmpV4InvokingPacketPacket
protected IcmpV4InvokingPacketPacket() -
IcmpV4InvokingPacketPacket
protected IcmpV4InvokingPacketPacket(byte[] rawData, int payloadOffset, int payloadLength) - Parameters:
rawData- rawDatapayloadOffset- payloadOffsetpayloadLength- payloadLength
-
IcmpV4InvokingPacketPacket
- Parameters:
builder- builder
-
-
Method Details
-
getPayload
Description copied from class:AbstractPacketReturns the Packet object representing this packet's payload. This subclass have to override this method if the packet represented by the subclass has a payload.- Specified by:
getPayloadin interfacePacket- Overrides:
getPayloadin classAbstractPacket- Returns:
- the Packet object representing this packet's payload. May be null if the payload doesn't exist
-