- java.lang.Object
-
- org.pcap4j.packet.AbstractPacket
-
- org.pcap4j.packet.IcmpV6InvokingPacketPacket
-
- Direct Known Subclasses:
IcmpV6DestinationUnreachablePacket,IcmpV6PacketTooBigPacket,IcmpV6ParameterProblemPacket,IcmpV6TimeExceededPacket
abstract class IcmpV6InvokingPacketPacket extends AbstractPacket
- Since:
- pcap4j 0.9.15
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classIcmpV6InvokingPacketPacket.Builder-
Nested classes/interfaces inherited from class org.pcap4j.packet.AbstractPacket
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeader
-
Nested classes/interfaces inherited from interface org.pcap4j.packet.Packet
Packet.Header
-
-
Field Summary
Fields Modifier and Type Field Description private Packetpayloadprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protectedIcmpV6InvokingPacketPacket()protectedIcmpV6InvokingPacketPacket(byte[] rawData, int payloadOffset, int payloadLength)protectedIcmpV6InvokingPacketPacket(IcmpV6InvokingPacketPacket.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketgetPayload()Returns 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, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
payload
private final Packet payload
-
-
Constructor Detail
-
IcmpV6InvokingPacketPacket
protected IcmpV6InvokingPacketPacket()
-
IcmpV6InvokingPacketPacket
protected IcmpV6InvokingPacketPacket(byte[] rawData, int payloadOffset, int payloadLength)- Parameters:
rawData- rawDatapayloadOffset- payloadOffsetpayloadLength- payloadLength
-
IcmpV6InvokingPacketPacket
protected IcmpV6InvokingPacketPacket(IcmpV6InvokingPacketPacket.Builder builder)
- Parameters:
builder- builder
-
-
Method Detail
-
getPayload
public Packet 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
-
-