All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.QuittingAction

java.lang.Object
   |
   +----ncsa.habanero.HabaneroAction
           |
           +----ncsa.habanero.QuittingAction

public class QuittingAction
extends HabaneroAction
implements ArbitratorAction, Describable

Variable Index

 o indexQuitMe
 o quitMe
 o toEveryone

Constructor Index

 o QuittingAction()
 o QuittingAction(Sharable)

Method Index

 o act(Targetable)
 o actAtArbitrator(Arbitrator, Specifiable)
 o describe()
 o getIndexQuitMe()
 o isQuittingSession(Targetable)
 o sendToEveryone()

Variables

 o toEveryone
 protected boolean toEveryone
 o quitMe
 protected Sharable quitMe
 o indexQuitMe
 protected int indexQuitMe

Constructors

 o QuittingAction
 public QuittingAction(Sharable q)
Returns:
creates a quitting action
 o QuittingAction
 public QuittingAction()

Methods

 o isQuittingSession
 public boolean isQuittingSession(Targetable target)
 o getIndexQuitMe
 public int getIndexQuitMe()
 o act
 public void act(Targetable target)
Parameters:
target - the collobject/session that is ending
Returns:
tells the target to quit
Overrides:
act in class HabaneroAction
 o actAtArbitrator
 public void actAtArbitrator(Arbitrator arb,
                             Specifiable target)
Parameters:
arb - the arbitrator
target - the target
Returns:
mark the central arbitrator for this target as dieing
 o sendToEveryone
 public boolean sendToEveryone()
Parameters:
do - we need to send this message to everyone?
 o describe
 public String describe()
Returns:
a string that describes this object
Overrides:
describe in class HabaneroAction

All Packages  Class Hierarchy  This Package  Previous  Next  Index