anon.client.replay
Class ReplayTimestamp
java.lang.Object
anon.client.replay.ReplayTimestamp
public class ReplayTimestamp
- extends java.lang.Object
- Author:
- Stefan Lieske
Constructor Summary |
ReplayTimestamp(java.lang.String a_mixId,
int a_interval,
int a_offset)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SECONDS_PER_INTERVAL
private static final long SECONDS_PER_INTERVAL
- See Also:
- Constant Field Values
m_mixId
private java.lang.String m_mixId
m_replayReferenceTime
private long m_replayReferenceTime
- Stores the time in ms (see System.currentTimeMillis()) the mix has chosen
as reference time for replay detection. This value is synchronized with
the local clock.
ReplayTimestamp
public ReplayTimestamp(java.lang.String a_mixId,
int a_interval,
int a_offset)
getMixId
public java.lang.String getMixId()
getCurrentTimestamp
public byte[] getCurrentTimestamp()
- Returns:
- The current interval.