template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_driver_host::DriverHost>|

and |::fidl::ServerEnd

<

::fuchsia_driver_host::DriverHost>|).

Public Methods

void Start (::fuchsia_driver_host::wire::DriverHostStartRequest * request, StartCompleter::Sync & completer)

Start a driver within a driver host.

void StartLoadedDriver (::fuchsia_driver_host::wire::DriverHostStartLoadedDriverRequest * request, StartLoadedDriverCompleter::Sync & completer)

Start a driver that's been loaded via an out of process dynamic linker.

void GetProcessInfo (GetProcessInfoCompleter::Sync & completer)

Returns the job and process KOIDs of the driver host.

void InstallLoader (::fuchsia_driver_host::wire::DriverHostInstallLoaderRequest * request, InstallLoaderCompleter::Sync & completer)

Provides a loader service which should be installed via

`dl_set_loader_service`.

void TriggerStackTrace (TriggerStackTraceCompleter::Sync & completer)
void FindDriverCrashInfoByThreadKoid (::fuchsia_driver_host::wire::DriverHostFindDriverCrashInfoByThreadKoidRequest * request, FindDriverCrashInfoByThreadKoidCompleter::Sync & completer)

Returns the driver crash information if the thread specified by |thread_koid|

exists in this driver host and it has ran into an exception.

Otherwise returns ZX_ERR_NOT_FOUND.

void WireServer ()

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