org.commonreality.time.impl.net
Class NetworkedMasterClock

java.lang.Object
  extended by org.commonreality.time.impl.BasicClock
      extended by org.commonreality.time.impl.OwnedClock<IIdentifier>
          extended by org.commonreality.time.impl.MasterClock
              extended by org.commonreality.time.impl.net.NetworkedMasterClock
All Implemented Interfaces:
IClock, IOwnableClock<IIdentifier>, ISetableClock

public class NetworkedMasterClock
extends MasterClock

Author:
developer

Constructor Summary
NetworkedMasterClock(IReality reality)
           
 
Method Summary
 double setTime(double newTime)
          set the time and signal
 
Methods inherited from class org.commonreality.time.impl.OwnedClock
addOwner, getOwners, isOwner, removeOwner, setTime
 
Methods inherited from class org.commonreality.time.impl.BasicClock
await, getTime, waitForChange, waitForTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.commonreality.time.IClock
getTime, waitForChange, waitForTime
 

Constructor Detail

NetworkedMasterClock

public NetworkedMasterClock(IReality reality)
Method Detail

setTime

public double setTime(double newTime)
Description copied from class: BasicClock
set the time and signal

Specified by:
setTime in interface ISetableClock
Overrides:
setTime in class OwnedClock<IIdentifier>