template <>
class WireServer
Defined at line 2916 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_diagnostics::Sample>|
and |::fidl::ServerEnd
<
::fuchsia_diagnostics::Sample>|).
Public Methods
void Set (::fuchsia_diagnostics::wire::SampleSetRequest * request, SetCompleter::Sync & completer)
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.
void Commit (::fuchsia_diagnostics::wire::SampleCommitRequest * request, CommitCompleter::Sync & completer)
`Commit` returns errors quickly, as all configuration is validated
before the first sample is taken.
void WireServer ()
Defined at line 2919 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_messaging.h
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~WireServer ()
Defined at line 2920 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_messaging.h