template <>

class WireSyncClientImpl

Defined at line 2314 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/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_diagnostics::ArchiveAccessor>|,

avoiding setting up a client.

Public Methods

::fidl::OneWayStatus StreamDiagnostics (::fuchsia_diagnostics::wire::StreamParameters stream_parameters, ::fidl::ServerEnd< ::fuchsia_diagnostics::BatchIterator> && result_stream)

Creates an iterator over diagnostics data on the system.

* The iterator may be finite by streaming in SNAPSHOT mode, serving only the

current state of diagnostics data on the system.

* The iterator may be infinite by streaming in either SNAPSHOT_THEN_SUBSCRIBE

or SUBSCRIBE mode; the prior first provides iteration over the current state of

the sytem, and then both provide ongoing iteration over newly arriving diagnostics

data.

+ request `result stream` a [fuchsia.diagnostics/BatchIterator] that diagnostic

records are exposed to the client over.

* epitaphs:

- INVALID_ARGS: A required argument in the StreamParameters struct was missing.

- WRONG_TYPE: A selector provided by the StreamParameters struct was incorrectly

formatted.

+ request `stream_parameters` is a [fuchsia.diagnostics/StreamParameter] which

specifies how to configure the stream.

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

::fidl::WireResult< ::fuchsia_diagnostics::ArchiveAccessor::WaitForReady> WaitForReady ()

Ensures that the connection with the server was established to prevent

races when using other pipelined methods of this protocol.

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