template <>

class WireServer

Defined at line 577 of file fidling/gen/sdk/fidl/fuchsia.hardware.rtc/fuchsia.hardware.rtc/cpp/fidl/fuchsia.hardware.rtc/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_hardware_rtc::Device>|

and |::fidl::ServerEnd

<

::fuchsia_hardware_rtc::Device>|).

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 Set2 (::fuchsia_hardware_rtc::wire::DeviceSet2Request * 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.

void WireServer ()

Defined at line 580 of file fidling/gen/sdk/fidl/fuchsia.hardware.rtc/fuchsia.hardware.rtc/cpp/fidl/fuchsia.hardware.rtc/cpp/wire_messaging.h

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 ~WireServer ()

Defined at line 581 of file fidling/gen/sdk/fidl/fuchsia.hardware.rtc/fuchsia.hardware.rtc/cpp/fidl/fuchsia.hardware.rtc/cpp/wire_messaging.h