template <>

class WireServer

Defined at line 1654 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::Provisioner>|

and |::fidl::ServerEnd

<

::fuchsia_tracing_controller::Provisioner>|).

Public Methods

void InitializeTracing (::fuchsia_tracing_controller::wire::ProvisionerInitializeTracingRequest * request, InitializeTracingCompleter::Sync & completer)

Requests to initialize tracing with the specified `config`.

A bad request will terminate the connection.

Dropping the socket connection will abort and terminate the

existing trace Session.

The trace controller emits trace data to `output` as a sequence of

binary formatted trace records. Traces obtained from different providers

are delimited by metadata records within the stream.

void GetProviders (GetProvidersCompleter::Sync & completer)

Return the set of registered providers.

void GetKnownCategories (GetKnownCategoriesCompleter::Sync & completer)
void WireServer ()

Defined at line 1657 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 1658 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_messaging.h