Package jadex.base
Class SRemoteClock
- java.lang.Object
 - 
- jadex.base.SRemoteClock
 
 
- 
public class SRemoteClock extends java.lang.ObjectHelper class for remote access to clock service. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSRemoteClock.ClockStateInformation about the clock to be transferred.static classSRemoteClock.RemoteClockChangeListenerThe remote clock change listener.static classSRemoteClock.RemoteSimServiceChangeListenerThe remote clock change listener.static classSRemoteClock.RemoteTimerChangeListenerThe remote clock change listener.static classSRemoteClock.SimulationStateInformation about the simulation to be transferred.static classSRemoteClock.TimerEntriesInformation about the timers to be transferred. 
- 
Constructor Summary
Constructors Constructor Description SRemoteClock() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IIntermediateFuture<SRemoteClock.ClockState>addClockListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)Add a clock listener.static IIntermediateFuture<SRemoteClock.SimulationState>addSimulationListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)Add a sim listener.static IIntermediateFuture<SRemoteClock.TimerEntries>addTimerListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)Add a timer listener.static IFuture<java.lang.Void>removeClockListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)Remove a clock listener.static IFuture<java.lang.Void>removeSimulationListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)Remove a sim listener.static IFuture<java.lang.Void>removeTimerListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)Remove a timer listener.static IFuture<java.lang.Void>setDelta(long delta, IExternalAccess exta)Set the delta.static IFuture<java.lang.Void>setDilation(double dilation, IExternalAccess exta)Set the dilation. 
 - 
 
- 
- 
Method Detail
- 
setDilation
public static IFuture<java.lang.Void> setDilation(double dilation, IExternalAccess exta)
Set the dilation. 
- 
setDelta
public static IFuture<java.lang.Void> setDelta(long delta, IExternalAccess exta)
Set the delta. 
- 
addClockListener
public static IIntermediateFuture<SRemoteClock.ClockState> addClockListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
Add a clock listener.- Parameters:
 id- The listener id for later removal.
 
- 
removeClockListener
public static IFuture<java.lang.Void> removeClockListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
Remove a clock listener.- Parameters:
 id- The listener id used for adding.
 
- 
addSimulationListener
public static IIntermediateFuture<SRemoteClock.SimulationState> addSimulationListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
Add a sim listener.- Parameters:
 id- The listener id for later removal.
 
- 
removeSimulationListener
public static IFuture<java.lang.Void> removeSimulationListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
Remove a sim listener.- Parameters:
 id- The listener id used for adding.
 
- 
addTimerListener
public static IIntermediateFuture<SRemoteClock.TimerEntries> addTimerListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
Add a timer listener.- Parameters:
 id- The listener id for later removal.
 
- 
removeTimerListener
public static IFuture<java.lang.Void> removeTimerListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
Remove a timer listener.- Parameters:
 id- The listener id used for adding.
 
 - 
 
 -