template <>

class Server

Defined at line 553 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/natural_messaging.h

Public Methods

void GetSnapshot (GetSnapshotRequest & request, GetSnapshotCompleter::Sync & completer)

Returns a snapshot of the device's state.

`snapshot` may be empty if there was an issue generating the snapshot.

void GetAnnotations (GetAnnotationsRequest & request, GetAnnotationsCompleter::Sync & completer)

Returns a set of annotations about the device's state.

`annotations` may be empty if there was an issue collecting them.

These are the same annotations as provided through GetSnapshot() - some clients only want

the annotations while others want both the annotations and the snapshot and generating the

snapshot can take significantly more time than collecting the annotations, e.g., logs are

only part of the snapshot and not part of the annotations and can take some time.

void Server ()

Defined at line 556 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/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 557 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/natural_messaging.h