template <>

class WireServer

Defined at line 586 of file fidling/gen/sdk/fidl/fuchsia.acpi.tables/fuchsia.acpi.tables/cpp/fidl/fuchsia.acpi.tables/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_acpi_tables::Tables>|

and |::fidl::ServerEnd

<

::fuchsia_acpi_tables::Tables>|).

Public Methods

void ListTableEntries (ListTableEntriesCompleter::Sync & completer)

Return the list of ACPI tables present in the system.

void ReadNamedTable (::fuchsia_acpi_tables::wire::TablesReadNamedTableRequest * request, ReadNamedTableCompleter::Sync & completer)

Write the raw content of the named ACPI table into the given VMO.

Some systems may have multiple ACPI tables with the same name ("SSDT" is

a commonly repeated table, for example). |instance| is used to specify

which instance of the named table to return. A value of |n| returns the

|n|'th occurence. If only one table with the given name is present,

|instance| should be 0.

On success, returns the number of bytes written into result.

void WireServer ()

Defined at line 589 of file fidling/gen/sdk/fidl/fuchsia.acpi.tables/fuchsia.acpi.tables/cpp/fidl/fuchsia.acpi.tables/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 590 of file fidling/gen/sdk/fidl/fuchsia.acpi.tables/fuchsia.acpi.tables/cpp/fidl/fuchsia.acpi.tables/cpp/wire_messaging.h