template <>
class WireSyncClientImpl
Defined at line 2829 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::Sample>|,
avoiding setting up a client.
Public Methods
::fidl::OneWayStatus Set (::fuchsia_diagnostics::wire::SampleParameters sample_parameters)
Add sample parameters.
Since this is limited by channel size, this API paginates at 300
items. That should fit in a channel unless a selector is particularly
gigantic.
Use `Commit` to indicate that all samples are sent over.
Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::fuchsia_diagnostics::Sample::Commit> Commit (::fidl::ClientEnd< ::fuchsia_diagnostics::SampleSink> && sink)
`Commit` returns errors quickly, as all configuration is validated
before the first sample is taken.
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.