public class SRemoteClock
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SRemoteClock.ClockState
Information about the clock to be transferred.
|
static class |
SRemoteClock.RemoteClockChangeListener
The remote clock change listener.
|
static class |
SRemoteClock.RemoteSimServiceChangeListener
The remote clock change listener.
|
static class |
SRemoteClock.RemoteTimerChangeListener
The remote clock change listener.
|
static class |
SRemoteClock.SimulationState
Information about the simulation to be transferred.
|
static class |
SRemoteClock.TimerEntries
Information about the timers to be transferred.
|
Constructor and Description |
---|
SRemoteClock() |
Modifier and Type | Method and 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.
|
public static IFuture<java.lang.Void> setDilation(double dilation, IExternalAccess exta)
public static IFuture<java.lang.Void> setDelta(long delta, IExternalAccess exta)
public static IIntermediateFuture<SRemoteClock.ClockState> addClockListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
id
- The listener id for later removal.public static IFuture<java.lang.Void> removeClockListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
id
- The listener id used for adding.public static IIntermediateFuture<SRemoteClock.SimulationState> addSimulationListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
id
- The listener id for later removal.public static IFuture<java.lang.Void> removeSimulationListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
id
- The listener id used for adding.public static IIntermediateFuture<SRemoteClock.TimerEntries> addTimerListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
id
- The listener id for later removal.public static IFuture<java.lang.Void> removeTimerListener(java.lang.String id, ISimulationService simservice, IExternalAccess exta)
id
- The listener id used for adding.