template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_tracing_perfetto::ConsumerConnector>|

and |::fidl::ServerEnd

<

::fuchsia_tracing_perfetto::ConsumerConnector>|).

Public Methods

void ConnectConsumer (::fuchsia_tracing_perfetto::wire::ConsumerConnectorConnectConsumerRequest * request, ConnectConsumerCompleter::Sync & completer)

Connects a Perfetto Consumer to the Perfetto backend. Both sides

will communicate over `producer_socket` using Perfetto's internal wire

format.

The lifetime of `consumer_socket` may outlive the connection lifetime

of ConsumerConnector.

Multiple producers may be connected simultaneously.

void WireServer ()

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