Package jadex.base
Class SRemoteClock.ClockState
- java.lang.Object
-
- jadex.base.SRemoteClock.ClockState
-
- Enclosing class:
- SRemoteClock
public static class SRemoteClock.ClockState extends java.lang.Object
Information about the clock to be transferred.
-
-
Constructor Summary
Constructors Constructor Description ClockState()
Bean constructor.ClockState(java.lang.String type, long time, double tick, long starttime, long delta, double dilation, boolean changeallowed)
Create a clock state object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Test if two objects are equal.int
hashCode()
The hash code.
-
-
-
Field Detail
-
type
public java.lang.String type
The clock type.
-
time
public long time
The current time.
-
tick
public double tick
The current tick.
-
starttime
public long starttime
The start time.
-
delta
public long delta
The clock delta.
-
dilation
public double dilation
The clock dilation.
-
changeallowed
public boolean changeallowed
Changing clock type allowed?
-
-
Method Detail
-
hashCode
public int hashCode()
The hash code. Overridden to have only one clock state per update.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Test if two objects are equal. Overridden to have only one clock state per update.- Overrides:
equals
in classjava.lang.Object
-
-