template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_driver_index::DriverNotifier>|

and |::fidl::ServerEnd

<

::fuchsia_driver_index::DriverNotifier>|).

Public Methods

void NewDriverAvailable (NewDriverAvailableCompleter::Sync & completer)

One-way method called from the driver index to the driver manager to notify it of

new drivers.

void WireServer ()

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