All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.replay.CaptureAnnounceAction
java.lang.Object
|
+----ncsa.habanero.HabaneroAction
|
+----ncsa.habanero.replay.CaptureAnnounceAction
- public class CaptureAnnounceAction
- extends HabaneroAction
- implements ArbitratorAction, SendAfterArbitrate
CaptureAnnounce.java
Announces to everyone that someone is capturing the session
-
bRecording
-
-
bSaveArbitratorState
-
-
streamVector
-
-
strLocation
-
-
CaptureAnnounceAction()
-
-
CaptureAnnounceAction(String, boolean)
-
-
CaptureAnnounceAction(String, boolean, boolean)
-
-
act(Targetable)
-
-
actAtArbitrator(Arbitrator, Specifiable)
-
-
describe()
-
-
sendToEveryone()
-
-
starting()
-
strLocation
protected String strLocation
bRecording
protected boolean bRecording
bSaveArbitratorState
protected boolean bSaveArbitratorState
streamVector
protected Vector streamVector
CaptureAnnounceAction
public CaptureAnnounceAction()
- Returns:
- creates a capture announce message
CaptureAnnounceAction
public CaptureAnnounceAction(String strDir,
boolean bStart)
- Parameters:
- strDir - the directory
- bStart - are we starting to capture a session, or did we just finish
- Returns:
- creates a capture announce message
CaptureAnnounceAction
public CaptureAnnounceAction(String strDir,
boolean bStart,
boolean bArbiToo)
- Parameters:
- strDir - the directory
- bStart - are we starting to capture a session, or did we just finish
- bArbiToo - should the state of the arbitrator be saved too?
- Returns:
- creates a capture announce message
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
actAtArbitrator
public void actAtArbitrator(Arbitrator arb,
Specifiable target)
- Parameters:
- arb - the arbitrator
- target - the target
- Returns:
- starts recording at the arbitrator
sendToEveryone
public boolean sendToEveryone()
- Returns:
- always returns true, we want this distributed
describe
public String describe()
- Returns:
- a string that describes this object
- Overrides:
- describe in class HabaneroAction
starting
public boolean starting()
- Returns:
- true if we are recording, false if we are stopping
All Packages Class Hierarchy This Package Previous Next Index