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
-
indexQuitMe
-
-
quitMe
-
-
toEveryone
-
-
QuittingAction()
-
-
QuittingAction(Sharable)
-
-
act(Targetable)
-
-
actAtArbitrator(Arbitrator, Specifiable)
-
-
describe()
-
-
getIndexQuitMe()
-
-
isQuittingSession(Targetable)
-
-
sendToEveryone()
-
toEveryone
protected boolean toEveryone
quitMe
protected Sharable quitMe
indexQuitMe
protected int indexQuitMe
QuittingAction
public QuittingAction(Sharable q)
- Returns:
- creates a quitting action
QuittingAction
public QuittingAction()
isQuittingSession
public boolean isQuittingSession(Targetable target)
getIndexQuitMe
public int getIndexQuitMe()
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
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
sendToEveryone
public boolean sendToEveryone()
- Parameters:
- do - we need to send this message to everyone?
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