template <>

class WireSyncClientImpl

Defined at line 456 of file fidling/gen/sdk/fidl/fuchsia.inspect/fuchsia.inspect/cpp/fidl/fuchsia.inspect/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_inspect::InspectSink>|,

avoiding setting up a client.

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.

Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.

::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

Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::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

Allocates 48 bytes of request buffer on the stack. Response is heap-allocated.