template <>

class Server

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

Public Methods

void MatchDriver (MatchDriverRequest & request, MatchDriverCompleter::Sync & completer)

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

void AddCompositeNodeSpec (AddCompositeNodeSpecRequest & 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 (RebindCompositeNodeSpecRequest & 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 Server ()

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

void SetNotifier (SetNotifierRequest & request, SetNotifierCompleter::Sync & completer)

Sets the DriverNotifier which is used for reverse communication.

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 758 of file fidling/gen/sdk/fidl/fuchsia.driver.index/fuchsia.driver.index/cpp/fidl/fuchsia.driver.index/cpp/natural_messaging.h