Class IpV6ExtOptionsPacket

    • Constructor Detail

      • IpV6ExtOptionsPacket

        protected IpV6ExtOptionsPacket()
      • IpV6ExtOptionsPacket

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

      • getHeader

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