java.lang.Object
org.pcap4j.packet.AbstractPacket
org.pcap4j.packet.IcmpV6InvokingPacketPacket
- All Implemented Interfaces:
Serializable,Iterable<Packet>,Packet
- Direct Known Subclasses:
IcmpV6DestinationUnreachablePacket,IcmpV6PacketTooBigPacket,IcmpV6ParameterProblemPacket,IcmpV6TimeExceededPacket
- Since:
- pcap4j 0.9.15
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classNested classes/interfaces inherited from class org.pcap4j.packet.AbstractPacket
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeaderNested classes/interfaces inherited from interface org.pcap4j.packet.Packet
Packet.Header -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedIcmpV6InvokingPacketPacket(byte[] rawData, int payloadOffset, int payloadLength) protected -
Method Summary
Modifier and TypeMethodDescriptionReturns the Packet object representing this packet's payload.Methods inherited from class org.pcap4j.packet.AbstractPacket
buildHexString, buildRawData, buildString, calcHashCode, calcLength, contains, equals, get, getBuilder, getHeader, getOuterOf, getRawData, hashCode, iterator, length, toHexString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
payload
-
-
Constructor Details
-
IcmpV6InvokingPacketPacket
protected IcmpV6InvokingPacketPacket() -
IcmpV6InvokingPacketPacket
protected IcmpV6InvokingPacketPacket(byte[] rawData, int payloadOffset, int payloadLength) - Parameters:
rawData- rawDatapayloadOffset- payloadOffsetpayloadLength- payloadLength
-
IcmpV6InvokingPacketPacket
- 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
-