template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_tracing_controller::SessionManager>|

and |::fidl::ServerEnd

<

::fuchsia_tracing_controller::SessionManager>|).

Public Methods

void GetProviders (GetProvidersCompleter::Sync & completer)

Return the set of registered providers.

void GetKnownCategories (GetKnownCategoriesCompleter::Sync & completer)

Gets the known categories.

void StartTraceSession (::fuchsia_tracing_controller::wire::SessionManagerStartTraceSessionRequest * request, StartTraceSessionCompleter::Sync & completer)

Starts a Trace session.

void StartTraceSessionOnBoot (::fuchsia_tracing_controller::wire::SessionManagerStartTraceSessionOnBootRequest * request, StartTraceSessionOnBootCompleter::Sync & completer)

Configure a Trace session to start when the component starts.

void EndTraceSession (::fuchsia_tracing_controller::wire::SessionManagerEndTraceSessionRequest * 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.

void WireServer ()

Defined at line 3225 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_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 ~WireServer ()

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