template <>

class Server

Defined at line 983 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/natural_messaging.h

Public Methods

void GetProviders (GetProvidersCompleter::Sync & completer)

Return the set of registered providers.

void GetKnownCategories (GetKnownCategoriesCompleter::Sync & completer)

Gets the known categories.

void Server ()

Defined at line 986 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/natural_messaging.h

void StartTraceSession (StartTraceSessionRequest & request, StartTraceSessionCompleter::Sync & completer)

Starts a Trace session.

void StartTraceSessionOnBoot (StartTraceSessionOnBootRequest & request, StartTraceSessionOnBootCompleter::Sync & completer)

Configure a Trace session to start when the component starts.

void EndTraceSession (EndTraceSessionRequest & request, EndTraceSessionCompleter::Sync & completer)

Ends the trace session.

If task_id is non-zero, then only the trace task with the given id is checked.

Note: Currently there is only 1 trace task active at a time, so the task_id is of

little value at this time.

void Status (StatusCompleter::Sync & completer)

Returns the status of the current trace session.

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