class ArchiveAccessor
Defined at line 6576 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/hlcpp/fuchsia/diagnostics/cpp/fidl.h
Outer protocol for interacting with the different diagnostics data sources.
Public Members
static const char[] Name_
Public Methods
void ~ArchiveAccessor ()
void StreamDiagnostics (::fuchsia::diagnostics::StreamParameters stream_parameters, ::fidl::InterfaceRequest< ::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.
void StreamDiagnosticsToSocket (::fuchsia::diagnostics::StreamParametersstream_parameters,::zx::socketstream,StreamDiagnosticsToSocketCallbackcallback)
Stream diagnostics data directly to a socket.
This is intended for host tools or components that prefer socket-based streaming.
void WaitForReady (WaitForReadyCallback callback)
Ensures that the connection with the server was established to prevent
races when using other pipelined methods of this protocol.
Protected Methods
void handle_unknown_method (uint64_t ordinal, bool method_has_response)
Friends
class ArchiveAccessor_Stub