template <>
class WireSyncClientImpl
Defined at line 341 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/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_feedback::CrashReportingProductRegister>|,
avoiding setting up a client.
Public Methods
::fidl::OneWayStatus Upsert (::fidl::StringView component_url, ::fuchsia_feedback::wire::CrashReportingProduct product)
Upserts, i.e. updates or inserts, a crash reporting product for a given component URL.
A subsequent call to Upsert() for the same component URL overwrites the
`CrashReportingProduct` for that component.
Prefer UpsertWithAck() if the component also files crash reports itself, to avoid race
conditions and mis-attribution.
Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::fuchsia_feedback::CrashReportingProductRegister::UpsertWithAck> UpsertWithAck (::fidl::StringView component_url, ::fuchsia_feedback::wire::CrashReportingProduct product)
Upserts (see above) and notifies the client when the operation is complete.
This allows clients to prevent races between filing crash reports and calls to Upsert.
Otherwise if a crash report is filed before the upsert completes, the crash report will be
attributed to the wrong product, leading to potentially incorrect crash data.
Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.