Class TimeSyncStateMessage
java.lang.Object
de.gebit.integrity.remoting.transport.messages.AbstractMessage
de.gebit.integrity.remoting.transport.messages.TimeSyncStateMessage
- All Implemented Interfaces:
Serializable
Sent to synchronize the artificial test time on the different systems.
- Author:
- Rene Schneider - initial API and implementation
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.TimeSyncStateMessage(long aRealtimeOffset, long aRealtimeDecouplingTime, double aProgressionFactor) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondoublelonglong
-
Constructor Details
-
TimeSyncStateMessage
public TimeSyncStateMessage()Constructor. -
TimeSyncStateMessage
public TimeSyncStateMessage(long aRealtimeOffset, long aRealtimeDecouplingTime, double aProgressionFactor) Constructor.- Parameters:
realtimeOffset-realtimeDecouplingTime-multiplier-
-
-
Method Details
-
getProgressionFactor
public double getProgressionFactor() -
getRealtimeDecouplingTime
public long getRealtimeDecouplingTime() -
getRealtimeOffset
public long getRealtimeOffset()
-