template <>

class WireServer

Defined at line 1081 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_driver_test::Internal>|

and |::fidl::ServerEnd

<

::fuchsia_driver_test::Internal>|).

Public Methods

void GetTestPackage (GetTestPackageCompleter::Sync & completer)

Gets the test component's package directory. This is used to read drivers in this package.

If a test resolution context is available through |GetTestResolutionContext|, subpackages

in this test package are also discovered.

void GetTestResolutionContext (GetTestResolutionContextCompleter::Sync & completer)

Gets the test component's resolution context. This is used to open subpackages of the

test package.

void GetBootDirectory (GetBootDirectoryCompleter::Sync & completer)

Get the '/boot' directory to be used for the "fuchsia-boot:///" resolver.

If an invalid |boot_dir| is returned, the driver test realm's '/pkg' directory is

treated as the boot directory.

void GetBootDriverOverrides (GetBootDriverOverridesCompleter::Sync & completer)
void WireServer ()

Defined at line 1084 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/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 1085 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/wire_messaging.h