All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.replay.ReplayAction

java.lang.Object
   |
   +----ncsa.habanero.HabaneroAction
           |
           +----ncsa.habanero.replay.ReplayAction

public class ReplayAction
extends HabaneroAction
implements Prioritizable
ReplayAction Stores an ActionGranted that is transported to the server for distributed replay


Constructor Index

 o ReplayAction()
 o ReplayAction(long, Object)

Method Index

 o act(Targetable)
 o describe()
 o getObject()
 o getTime()
 o queryPriority()

Constructors

 o ReplayAction
 public ReplayAction(long lTime,
                     Object ag)
Parameters:
lTime - the time of the action
ag - the thing to send
Returns:
creates a replay action
 o ReplayAction
 public ReplayAction()
Returns:
creates a replay action, for marshalling

Methods

 o act
 public void act(Targetable target)
Parameters:
target - what gets the action
Returns:
Perform the action on the given target
Overrides:
act in class HabaneroAction
 o describe
 public String describe()
Returns:
a string that describes this object
Overrides:
describe in class HabaneroAction
 o queryPriority
 public long queryPriority()
Returns:
the number that represents the objects priority at the current time
 o getObject
 public Object getObject()
Returns:
the action granted
 o getTime
 public long getTime()
Returns:
the time the action was recorded

All Packages  Class Hierarchy  This Package  Previous  Next  Index