template <>

class Server

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

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 Server ()

Defined at line 286 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/natural_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 ~Server ()

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