template <>

class WireSyncBufferClientImpl

Defined at line 505 of file fidling/gen/sdk/fidl/fuchsia.inspect/fuchsia.inspect/cpp/fidl/fuchsia.inspect/cpp/wire_messaging.h

Public Methods

::fidl::OneWayStatus Publish (::fuchsia_inspect::wire::InspectSinkPublishRequest InspectSinkPublishRequest)

Publishes a handle to the `fuchsia.inspect.Tree` protocol that the

server can use to read Inspect data, including lazy nodes.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus Escrow (::fuchsia_inspect::wire::InspectSinkEscrowRequest InspectSinkEscrowRequest)

Instructs the server to store the VMO provided to make its data

available to Inspect readers, even when the component that published

this VMO isn't running.

This is meant to be used when integrating with Component Framework's

Escrow APIs to enable stopping when IDLE but still ensure that some

useful diagnostics information is available.

The client must provide a `token` that will be used as a unique

identifier to this VMO by the the server. This token is an event pair, a

client must provide one end of this event pair and hold to the other end

(or escrow the handle it using Component APIs). If the server sees a

PEER_CLOSED on the handle it received, it will drop the VMO associated

with this token.

If any of the required arguments isn't passed the connection will be

closed.

To learn more about stopping IDLE components, please refer to:

https://fuchsia.dev/fuchsia-src/development/components/stop_idle

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_inspect::InspectSink::FetchEscrow> FetchEscrow (::fuchsia_inspect::wire::InspectSinkFetchEscrowRequest InspectSinkFetchEscrowRequest)

Instructs the server to return (and stop tracking) the VMO associated

with the given token.

This is meant to be used when a component restarts and wants to fetch

Inspect data that it escrowed.

To learn more about stopping IDLE components, please refer to:

https://fuchsia.dev/fuchsia-src/development/components/stop_idle

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.