Class GtpV1Packet

    • Method Detail

      • getHeader

        public GtpV1Packet.GtpV1Header 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
      • getBuilder

        public GtpV1Packet.Builder getBuilder()
        Description copied from interface: Packet
        Returns a new Builder object populated with this object's fields' values.
        Specified by:
        getBuilder in interface Packet
        Specified by:
        getBuilder in class AbstractPacket
        Returns:
        a new Builder object populated with this object's fields values