template <>
class WireWeakAsyncClientImpl
Defined at line 3540 of file fidling/gen/sdk/fidl/fuchsia.debugger/fuchsia.debugger/cpp/fidl/fuchsia.debugger/cpp/wire_messaging.h
Public Methods
::fidl::internal::WireThenable< ::fuchsia_debugger::DebugAgent::Connect> Connect (::zx::socket && socket)
Hand the DebugAgent a socket that connects it to the debugger. This
will return ZX_ERR_ALREADY_BOUND if a connection already exists. When
the socket is closed, the DebugAgent will exit.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_debugger::DebugAgent::AttachTo> AttachTo (::fidl::StringView pattern, ::fuchsia_debugger::wire::FilterType type, ::fuchsia_debugger::wire::FilterOptions options)
Use the given filter to attach to any existing or subsequently created
components. This method will return the number of matches that were
present at the time of calling this method. All attached processes will
be detached when this agent is destroyed.
|filter| will be inspected for validity, with corresponding errors
returned. If the filter is invalid, no attaches will occur and the
filter will not be installed.
|num_matches| will contain the number of matches that were found
immediately upon filter installation if there was no error, that is, the
number of processes immediately within (or recursively in this realm, if
the option is specified) this component's corresponding job. Note that
filters may be installed _before_ any components are actually resolved
and matched, so this number may be 0. This return value may be safely
ignored.
Invalid filters will return an error, see Filter above for details on
how to construct a filter.
The request and callback are allocated on the heap.
::fidl::internal::WireThenable< ::fuchsia_debugger::DebugAgent::GetProcessInfo> GetProcessInfo (::fuchsia_debugger::wire::GetProcessInfoOptions options, ::fidl::ServerEnd< ::fuchsia_debugger::ProcessInfoIterator> && iterator)
The given server_end of the iterator will iterate over all threads, of
all attached processes. The options parameter may be passed to filter
the already attached processes and to express interest in what should be
yielded by the iterator. Including a filter is recommended if DebugAgent
is attached to a large number of processes. Note that this filter will
not cause any new processes to be attached and will not be saved after
this method returns. It is purely to reduce the bounds of the iterator.
The threads will be suspended for the duration of information capture,
which could be interrupted by other system processes, see
|ProcessInfoIterator| for an example.
The request and callback are allocated on the heap.
::fidl::internal::WireThenable< ::fuchsia_debugger::DebugAgent::GetMinidumps> GetMinidumps (::fuchsia_debugger::wire::MinidumpOptions options, ::fidl::ServerEnd< ::fuchsia_debugger::MinidumpIterator> && iterator)
Collect minidumps for all attached processes. |options| may contain a
filter to reduce the number of minidumps that are yielded by the
iterator.
The request and callback are allocated on the heap.