Package org.tinyradius.dictionary
Interface WritableDictionary
- All Superinterfaces:
Dictionary
- All Known Implementing Classes:
MemoryDictionary
public interface WritableDictionary extends Dictionary
A dictionary that is not read-only. Provides methods
to add entries to the dictionary.
-
Method Summary
Modifier and Type Method Description void
addAttributeType(AttributeType attributeType)
Adds an AttributeType object to the dictionary.void
addVendor(int vendorId, java.lang.String vendorName)
Adds the given vendor to the dictionary.Methods inherited from interface org.tinyradius.dictionary.Dictionary
getAttributeTypeByCode, getAttributeTypeByCode, getAttributeTypeByName, getVendorId, getVendorName
-
Method Details
-
addVendor
void addVendor(int vendorId, java.lang.String vendorName)Adds the given vendor to the dictionary.- Parameters:
vendorId
- vendor IDvendorName
- name of the vendor
-
addAttributeType
Adds an AttributeType object to the dictionary.- Parameters:
attributeType
- AttributeType object
-