template <>
class Server
Defined at line 188 of file fidling/gen/sdk/fidl/fuchsia.hardware.rtc/fuchsia.hardware.rtc/cpp/fidl/fuchsia.hardware.rtc/cpp/natural_messaging.h
Public Methods
void Get (GetCompleter::Sync & completer)
Get the current RTC time.
If the driver detects that it does not have a valid time to report, then it will return an
`ZX_ERR_INTERNAL` error.
void Server ()
Defined at line 191 of file fidling/gen/sdk/fidl/fuchsia.hardware.rtc/fuchsia.hardware.rtc/cpp/fidl/fuchsia.hardware.rtc/cpp/natural_messaging.h
void Set2 (Set2Request & request, Set2Completer::Sync & completer)
Set the RTC time.
If the RTC time is not valid, the driver will return an `ZX_ERR_OUT_OF_RANGE` error.
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~Server ()
Defined at line 192 of file fidling/gen/sdk/fidl/fuchsia.hardware.rtc/fuchsia.hardware.rtc/cpp/fidl/fuchsia.hardware.rtc/cpp/natural_messaging.h