template <>

class Server

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

Public Methods

void GetMetadata (GetMetadataCompleter::Sync & completer)

Get all of the metadata associated with this device.

void GetBanjoProtocol (GetBanjoProtocolRequest & request, GetBanjoProtocolCompleter::Sync & completer)

Connect to a banjo protocol that this device is exposing.

The caller needs to send a copy of their process koid so the callee can verify

that both drivers are in the same process.

void Server ()

Defined at line 186 of file fidling/gen/sdk/fidl/fuchsia.driver.compat/fuchsia.driver.compat/cpp/fidl/fuchsia.driver.compat/cpp/natural_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 ~Server ()

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