template <>
class Server
Defined at line 195 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_messaging.h
Public Methods
void CreateMetricEventLogger (CreateMetricEventLoggerRequest & request, CreateMetricEventLoggerCompleter::Sync & completer)
Create a MetricEventLogger for the project specified by `project_spec`.
void CreateMetricEventLoggerWithExperiments (CreateMetricEventLoggerWithExperimentsRequest & request, CreateMetricEventLoggerWithExperimentsCompleter::Sync & completer)
Create a MetricEventLogger with experiment metadata.
This temporary method exposes experiment data to Cobalt directly from
components. In the future, experiment state will be managed by the
system and passed directly to Cobalt. Contact the Cobalt team before
using this interface.
To update experiment state create a new logger.
void Server ()
Defined at line 198 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/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 199 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_messaging.h