template <>

class WireSyncClientImpl

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

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_tracing_perfetto::ProducerConnector>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_tracing_perfetto::ProducerConnector::ConnectProducer> ConnectProducer (::zx::socket && producer_socket, ::fuchsia_tracing_perfetto::wire::TraceBuffer buffer)

Connects a Perfetto Producer to the Perfetto backend. Both sides

will communicate over `producer_socket` using Perfetto's internal

wire format "ProducerPort" (see

//third_party/perfetto/protos/perfetto/ipc/producer_port.proto).

`trace_buffer` either provides a buffer for communicating trace data

from the client, or an interface for receiving a buffer from the

server, depending on the client's needs.

The lifetime of `producer_socket` may outlive the connection lifetime

of ProducerConnector.

Multiple Producers may be connected simultaneously.

Allocates 72 bytes of message buffer on the stack. No heap allocation necessary.