|
YAACC - UPNP Client and Server
|
The clock on a source of nanoseconds. More...


Public Member Functions | |
| long | nowMicros () |
Public Member Functions inherited from de.yaacc.multiroom.engine.MicroClock | |
Additional Inherited Members | |
Static Public Member Functions inherited from de.yaacc.multiroom.engine.MicroClock | |
| static MicroClock | monotonic () |
The real clock: System.nanoTime() counted from the first use of this class, so the seconds of a timestamp always fit into the 32 bits of the protocol (a raw nanoTime has an arbitrary origin). | |
| static MicroClock | fromNanoSource (java.util.function.LongSupplier nanos) |
A clock on any source of nanoseconds that never goes back (the source of a test, or Android's SystemClock.elapsedRealtimeNanos(), which keeps counting while the device sleeps). | |
The clock on a source of nanoseconds.
| long de.yaacc.multiroom.engine.MicroClock.Monotonic.nowMicros | ( | ) |
Implements de.yaacc.multiroom.engine.MicroClock.