template <>

class Server

Defined at line 1334 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_messaging.h

Public Methods

void Server ()

Defined at line 1337 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_messaging.h

void Set (SetRequest & request, SetCompleter::Sync & completer)

Add sample parameters.

Since this is limited by channel size, this API paginates at 300

items. That should fit in a channel unless a selector is particularly

gigantic.

Use `Commit` to indicate that all samples are sent over.

void Commit (CommitRequest & request, CommitCompleter::Sync & completer)

`Commit` returns errors quickly, as all configuration is validated

before the first sample is taken.

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