template <>
class WireServer
Defined at line 370 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_memory_attribution::Provider>|
and |::fidl::ServerEnd
<
::fuchsia_memory_attribution::Provider>|).
Public Methods
void Get (GetCompleter::Sync & completer)
Returns the attribution information known to the provider.
The first call returns immediately with the current information.
Subsequent calls will be held if no additional information is
available, and return only when there are changes to the attribution
information to be reported.
Runners will typically report the kernel resources (e.g. job, process,
etc) associated with each component that they are responsible for
running.
Components may optionally report resource usage by different categories
within their implementation.
void WireServer ()
Defined at line 373 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/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 374 of file fidling/gen/sdk/fidl/fuchsia.memory.attribution/fuchsia.memory.attribution/cpp/fidl/fuchsia.memory.attribution/cpp/wire_messaging.h