Class semper.access.SimpleCapability
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.access.SimpleCapability

java.lang.Object
   |
   +----semper.access.Capability
           |
           +----semper.access.SimpleCapability

public class SimpleCapability
extends Capability
implements Streamable
Class of capability objects. Other managers must create and verify capabilities before performing potentially dangerous, compromising or undesirable operations. A simple capability is always valid.
Version:
$Revision: 1.4 $ $Date: 1996/08/21 07:40:37 $
Author:
Jaap-Henk Hoepman (jhh@cwi.nl)
See Also:
Capability

Constructor Index

 o SimpleCapability(String)
Creates a new SimpleCapability.

Method Index

 o isValid()
Check whether the capability is still valid.
 o myStreamSize()
Implementing the Streamable interface
 o readObject(StreamInputInterface)
Implementing the Streamable interface
 o writeObject(StreamOutputInterface)
Implementing the Streamable interface

Constructors

 o SimpleCapability
  public SimpleCapability(String desc)
Creates a new SimpleCapability. The capability is initially valid.
Parameters:
desc - description of the capability.
Returns:
the new object.

Methods

 o isValid
  protected boolean isValid()
Check whether the capability is still valid.
Returns:
always returns true.
Overrides:
isValid in class Capability
 o writeObject
  public void writeObject(StreamOutputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
See Also:
Streamable;
 o readObject
  public void readObject(StreamInputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
See Also:
Streamable;
 o myStreamSize
  public int myStreamSize() throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
See Also:
Streamable;

All Packages  Class Hierarchy  This Package  Previous  Next  Index