NtpService uses a UNIX Domain Socket "/var/run/devicemodel/ntp.sock" for GRPC communication. protoc generates both client and server instance for this Service. GRPC Status codes : https://developers.google.com/maps-booking/reference/grpc-api/status_codes .
Method Name | Request Type | Response Type | Description |
---|---|---|---|
SetNtpServer | Ntp | .google.protobuf.Empty | Set NTP server |
GetNtpServer | .google.protobuf.Empty | Ntp | Returns NTP servers |
GetStatus | .google.protobuf.Empty | Status | Returns NTP Status message |