YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.snapcast.protocol.TimeMessage Class Reference

The time sync message: a latency as seconds and microseconds. More...

Inheritance diagram for de.yaacc.snapcast.protocol.TimeMessage:
Inheritance graph
Collaboration diagram for de.yaacc.snapcast.protocol.TimeMessage:
Collaboration graph

Public Member Functions

 TimeMessage (int latencySec, int latencyUsec)
 
int getLatencySec ()
 
int getLatencyUsec ()
 
long latencyMicros ()
 
MessageType type ()
 
boolean equals (Object other)
 
int hashCode ()
 
- Public Member Functions inherited from de.yaacc.snapcast.protocol.SnapcastBinaryMessage

Static Public Member Functions

static TimeMessage ofMicros (long micros)
 The message for a number of microseconds; beyond the range of 32 bit seconds the value is cut to the range.
 

Detailed Description

The time sync message: a latency as seconds and microseconds.

A request carries zero; the answer carries the time the request needed to reach the server (the server's receive time minus our send time, so it contains the difference of the two clocks).

Member Function Documentation

◆ type()

MessageType de.yaacc.snapcast.protocol.TimeMessage.type ( )

The documentation for this class was generated from the following file: