- public class Acls
- extends kllist
Represents a list of ACLs. Alphabetically ordered by ACL name.
Warning:
vqServer will not operate correctly if you add
anything other than instances of Acl to an instance of Acls.
Only use add(Acl) to add an instance of Acl to an instance of Acls.
Acls()
- Creates an empty list.
add(Acl)
- Adds the specified ACL to the list.
getByName(String)
- Returns the ACL with the specified name or null if no
ACL with the specified name is in the list.
read(vqis)
- Reads Parameter(s) from the specified input stream and adds them to the list.
save(vqos)
- Writes the list to the output stream specified in vqServer .cfg file format.
Acls
public Acls()
Creates an empty list.
read
public void read(vqis is) throws java.io.IOException
Reads Parameter(s) from the specified input stream and adds them to the list.
- Overrides:
- read in class kllist
add
public void add(Acl theACL)
Adds the specified ACL to the list. The position of the ACL in the list depends
on its name.
save
public void save(vqos os) throws java.io.IOException
Writes the list to the output stream specified in vqServer .cfg file format.
Calls the save(vqos) method of each ACL in the list.
- Overrides:
- save in class kllist
getByName
public Acl getByName(java.lang.String name)
Returns the ACL with the specified name or null if no
ACL with the specified name is in the list.