Class PPPoEDTag


  • public class PPPoEDTag
    extends java.lang.Object
    • Field Detail

      • type

        protected short type
      • length

        protected short length
      • value

        protected byte[] value
      • PPPOED_TAG_END_OF_LIST

        public static final short PPPOED_TAG_END_OF_LIST
        See Also:
        Constant Field Values
      • PPPOED_TAG_SERVICE_NAME

        public static final short PPPOED_TAG_SERVICE_NAME
        See Also:
        Constant Field Values
      • PPPOED_TAG_VENDOR_SPECIFIC

        public static final short PPPOED_TAG_VENDOR_SPECIFIC
        See Also:
        Constant Field Values
      • PPPOED_TAG_RELAY_SESSION_ID

        public static final short PPPOED_TAG_RELAY_SESSION_ID
        See Also:
        Constant Field Values
      • PPPOED_TAG_SERVICE_NAME_ERROR

        public static final short PPPOED_TAG_SERVICE_NAME_ERROR
        See Also:
        Constant Field Values
      • PPPOED_TAG_AC_SYSTEM_ERROR

        public static final short PPPOED_TAG_AC_SYSTEM_ERROR
        See Also:
        Constant Field Values
      • PPPOED_TAG_GENERIC_ERROR

        public static final short PPPOED_TAG_GENERIC_ERROR
        See Also:
        Constant Field Values
    • Constructor Detail

      • PPPoEDTag

        public PPPoEDTag()
        Default constructor.
      • PPPoEDTag

        public PPPoEDTag​(short type,
                         short length,
                         byte[] value)
        Constructs a PPPoED tag with type, length and value.
        Parameters:
        type - type
        length - length
        value - value
    • Method Detail

      • getType

        public short getType()
      • setType

        public void setType​(short type)
      • getLength

        public short getLength()
      • setLength

        public void setLength​(short length)
      • getValue

        public byte[] getValue()
      • setValue

        public void setValue​(byte[] value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object