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


Constructor Index

 o DistributedPlaybackEngine(CentralArbitrator)

Method Index

 o addAction(ReplayAction)
 o run()
 o setSpeed(double)
 o startNewCollobject(String)

Constructors

 o DistributedPlaybackEngine
 public DistributedPlaybackEngine(CentralArbitrator parent)
Parameters:
parent - the parent arbitrator
Returns:
creates a distributed playback engine

Methods

 o run
 public void run()
Returns:
rebroadcasts the action granted
Overrides:
run in class Thread
 o 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
 o addAction
 public void addAction(ReplayAction newAction)
Parameters:
newAction - - the new action
Returns:
adds the new action to the queue
 o setSpeed
 public void setSpeed(double dNewSpeed)
Parameters:
dNewSpeed - the new speed
Returns:
resets the speed

All Packages  Class Hierarchy  This Package  Previous  Next  Index