Class IcmpV4InvokingPacketPacket

    • Constructor Detail

      • IcmpV4InvokingPacketPacket

        protected IcmpV4InvokingPacketPacket()
      • IcmpV4InvokingPacketPacket

        protected IcmpV4InvokingPacketPacket​(byte[] rawData,
                                             int payloadOffset,
                                             int payloadLength)
        Parameters:
        rawData - rawData
        payloadOffset - payloadOffset
        payloadLength - payloadLength
    • Method Detail

      • getPayload

        public Packet getPayload()
        Description copied from class: AbstractPacket
        Returns 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:
        getPayload in interface Packet
        Overrides:
        getPayload in class AbstractPacket
        Returns:
        the Packet object representing this packet's payload. May be null if the payload doesn't exist