template <>

class WireServer

Defined at line 2281 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::DriverIndex>|

and |::fidl::ServerEnd

<

::fuchsia_driver_index::DriverIndex>|).

Public Methods

void MatchDriver (::fuchsia_driver_index::wire::DriverIndexMatchDriverRequest * request, MatchDriverCompleter::Sync & completer)

Match a set of device arguments to a driver package URL.

void AddCompositeNodeSpec (::fuchsia_driver_framework::wire::CompositeNodeSpec * request, AddCompositeNodeSpecCompleter::Sync & completer)

Adds a composite node spec to the driver index. The driver index stores the

composite node spec and maps it by the name. The stored composite node specs are

included in the driver matching process.

void RebindCompositeNodeSpec (::fuchsia_driver_index::wire::DriverIndexRebindCompositeNodeSpecRequest * request, RebindCompositeNodeSpecCompleter::Sync & completer)

Rematch the composite node spec to a composite driver. If a driver url suffix is

provided, the composite node spec will only be matched against drivers with URLS that

end with the suffix.

void SetNotifier (::fuchsia_driver_index::wire::DriverIndexSetNotifierRequest * request, SetNotifierCompleter::Sync & completer)

Sets the DriverNotifier which is used for reverse communication.

void WireServer ()

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