Class Ipv6PrefixAttribute

java.lang.Object
org.tinyradius.core.attribute.type.OctetsAttribute
org.tinyradius.core.attribute.type.Ipv6PrefixAttribute
All Implemented Interfaces:
RadiusAttribute

public class Ipv6PrefixAttribute extends OctetsAttribute
This class represents a Radius attribute for an IPv6 prefix.
  • Constructor Details

    • Ipv6PrefixAttribute

      public Ipv6PrefixAttribute(Dictionary dictionary, int vendorId, io.netty.buffer.ByteBuf data)
  • Method Details

    • getValueString

      public String getValueString()
      Returns the attribute value as a string of the format "x:x:x:x:x:x:x:x/yy".
      Specified by:
      getValueString in interface RadiusAttribute
      Overrides:
      getValueString in class OctetsAttribute
      Returns:
      value of this attribute as a hex string.
    • stringParser

      public static byte[] stringParser(String value)