edu.mit.csail.aeolus.api
Class AeolusClosure

java.lang.Object
  extended by edu.mit.csail.aeolus.api.AeolusClosure
All Implemented Interfaces:
AeolusSafe

public abstract class AeolusClosure
extends java.lang.Object
implements AeolusSafe

This class is used to create share-able executable objects in Aeolus. The closure includes the labels specified by the creator of the closure.


Field Summary
 EventID closureLastEid
          Deprecated. 
 
Constructor Summary
protected AeolusClosure(PID pid)
          Construct a closure that will run with the authority of pid
 
Method Summary
 java.util.ArrayList<java.lang.Integer> getBasisCopy()
          Deprecated. 
 PID getPID()
          Return the PID associated with the closure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

closureLastEid

@Deprecated
public EventID closureLastEid
Deprecated. 
Constructor Detail

AeolusClosure

protected AeolusClosure(PID pid)
                 throws AuthorityException
Construct a closure that will run with the authority of pid

Throws:
AuthorityException - - if caller's thread doesn't actFor pid
Method Detail

getBasisCopy

@Deprecated
public final java.util.ArrayList<java.lang.Integer> getBasisCopy()
Deprecated. 


getPID

public final PID getPID()
Return the PID associated with the closure

Returns:
the PID associated with the closure