All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.replay.DistributedPlaybackEngine
java.lang.Object
|
+----java.lang.Thread
|
+----ncsa.habanero.replay.DistributedPlaybackEngine
- public class DistributedPlaybackEngine
- extends Thread
DistributedPlaybackEngline
-
DistributedPlaybackEngine(CentralArbitrator)
-
-
addAction(ReplayAction)
-
-
run()
-
-
setSpeed(double)
-
-
startNewCollobject(String)
-
DistributedPlaybackEngine
public DistributedPlaybackEngine(CentralArbitrator parent)
- Parameters:
- parent - the parent arbitrator
- Returns:
- creates a distributed playback engine
run
public void run()
- Returns:
- rebroadcasts the action granted
- Overrides:
- run in class Thread
startNewCollobject
protected void startNewCollobject(String originator)
- Parameters:
- originator - the person who created the collobject
- Returns:
- creates a new collobject on the server machine
NOTE: This code is identical to that in NewCollobjectAction, should that change, this should too
addAction
public void addAction(ReplayAction newAction)
- Parameters:
- newAction - - the new action
- Returns:
- adds the new action to the queue
setSpeed
public void setSpeed(double dNewSpeed)
- Parameters:
- dNewSpeed - the new speed
- Returns:
- resets the speed
All Packages Class Hierarchy This Package Previous Next Index