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


Variable Index

 o bRecording
 o bSaveArbitratorState
 o streamVector
 o strLocation

Constructor Index

 o CaptureAnnounceAction()
 o CaptureAnnounceAction(String, boolean)
 o CaptureAnnounceAction(String, boolean, boolean)

Method Index

 o act(Targetable)
 o actAtArbitrator(Arbitrator, Specifiable)
 o describe()
 o sendToEveryone()
 o starting()

Variables

 o strLocation
 protected String strLocation
 o bRecording
 protected boolean bRecording
 o bSaveArbitratorState
 protected boolean bSaveArbitratorState
 o streamVector
 protected Vector streamVector

Constructors

 o CaptureAnnounceAction
 public CaptureAnnounceAction()
Returns:
creates a capture announce message
 o 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
 o 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

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 actAtArbitrator
 public void actAtArbitrator(Arbitrator arb,
                             Specifiable target)
Parameters:
arb - the arbitrator
target - the target
Returns:
starts recording at the arbitrator
 o sendToEveryone
 public boolean sendToEveryone()
Returns:
always returns true, we want this distributed
 o describe
 public String describe()
Returns:
a string that describes this object
Overrides:
describe in class HabaneroAction
 o starting
 public boolean starting()
Returns:
true if we are recording, false if we are stopping

All Packages  Class Hierarchy  This Package  Previous  Next  Index