NtpService nutzt einen UNIX-Domain-Socket "/var/run/devicemodel/ntp.sock" für die GRPC-Kommunikation. protoc generiert sowohl eine Client- als auch eine Serverinstanz für diesen Service. GRPC-Statuscodes : https://developers.google.com/maps-booking/reference/grpc-api/status_codes.
Methodenname | Request-Typ | Antwort-Typ | Beschreibung |
---|---|---|---|
SetNtpServer | Ntp | . google.protobuf.Leer | Einstellen des NTP-Servers |
GetNtpServer | . google.protobuf.Leer | Ntp | Gibt NTP-Server zurück |
GetStatus | . google.protobuf.Leer | Status | Gibt NTP-Statusmeldung zurück |