vqServer API Class vq.server.Acls

java.lang.Object
    |
    +----vq.utils.kllist
            |
            +----vq.server.Acls
Contents
Package index
Package
API index

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.


Constructor Index

 o Acls()
Creates an empty list.

Method Index

 o add(Acl)
Adds the specified ACL to the list.
 o getByName(String)
Returns the ACL with the specified name or null if no ACL with the specified name is in the list.
 o read(vqis)
Reads Parameter(s) from the specified input stream and adds them to the list.
 o save(vqos)
Writes the list to the output stream specified in vqServer .cfg file format.

Constructor Detail

 o Acls
public Acls()
          Creates an empty list.

Method Detail

 o 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
 o 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.
 o 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
 o 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.


vqServer API version 1.9. vqServer and the vqServer API are copyright © Steve Shering and vqSoft 1997-2000. Last updated 15 May 2000.

Contents
Package index
Package
API index