vqServer API Class vq.server.AclEntry

java.lang.Object
    |
    +----vq.utils.klentry
            |
            +----vq.server.AclEntry
Contents
Package index
Package
API index

public class AclEntry
extends klentry
Represents an entry in an ACL. It is a reference to another ACL or to a user. Warning: the key field is used to store part of the reference and should not be modified directly; it is set by the constructor.


Constructor Index

 o AclEntry(Acl)
Creates a new entry which refers to the specified ACL.
 o AclEntry(User)
Creates a new entry which refers to the specified user.

Method Index

 o isAcl()
Returns true if the ACL entry refers to an ACL or false if it refers to a user.
 o refersTo()
Returns the ACL or user to which the ACL entry refers.
 o save(vqos)
Writes the ACL entry to the output stream specified in vqServer .cfg file format.

Constructor Detail

 o AclEntry
public AclEntry(User theUser)
          Creates a new entry which refers to the specified user.
 o AclEntry
public AclEntry(Acl theACL)
          Creates a new entry which refers to the specified ACL.

Method Detail

 o isAcl
public boolean isAcl()
          Returns true if the ACL entry refers to an ACL or false if it refers to a user.
 o refersTo
public klentry refersTo()
          Returns the ACL or user to which the ACL entry refers.
 o save
public void save(vqos os) throws java.io.IOException
          Writes the ACL entry to the output stream specified in vqServer .cfg file format.
Overrides:
save in class klentry


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