template <>

class Server

Defined at line 516 of file fidling/gen/sdk/fidl/fuchsia.process/fuchsia.process/cpp/fidl/fuchsia.process/cpp/natural_messaging.h

Public Methods

void Resolve (ResolveRequest & request, ResolveCompleter::Sync & completer)

Resolves the given `name` to an `executable` and an shared library

loader.

If present, the `executable` is suitable for use as the `executable`

property of `LaunchInfo` -- in particular, it will have `ZX_RIGHT_EXECUTE`.

If present, the `ldsvc` is suitable for use as the `PA_LDSVC_LOADER`

handle when launching the process.

For example, the resolver might locate the given `name` inside a package

and return the executable binary from the package as well as a shared

library loader scoped to that package.

void Server ()

Defined at line 519 of file fidling/gen/sdk/fidl/fuchsia.process/fuchsia.process/cpp/fidl/fuchsia.process/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 520 of file fidling/gen/sdk/fidl/fuchsia.process/fuchsia.process/cpp/fidl/fuchsia.process/cpp/natural_messaging.h