template <>
class WireServer
Defined at line 1516 of file fidling/gen/sdk/fidl/fuchsia.process/fuchsia.process/cpp/fidl/fuchsia.process/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_process::Resolver>|
and |::fidl::ServerEnd
<
::fuchsia_process::Resolver>|).
Public Methods
void Resolve (::fuchsia_process::wire::ResolverResolveRequest * 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 WireServer ()
Defined at line 1519 of file fidling/gen/sdk/fidl/fuchsia.process/fuchsia.process/cpp/fidl/fuchsia.process/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 1520 of file fidling/gen/sdk/fidl/fuchsia.process/fuchsia.process/cpp/fidl/fuchsia.process/cpp/wire_messaging.h