template <>
class WireServer
Defined at line 3859 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_kernel::Counter>|
and |::fidl::ServerEnd
<
::fuchsia_kernel::Counter>|).
Public Methods
void GetInspectVmo (GetInspectVmoCompleter::Sync & completer)
Retrives a VMO containining summarized kcounter data. The vmo returned
in `buffer` is in "inspect-vmo" format, documented elsewhere.
void UpdateInspectVmo (UpdateInspectVmoCompleter::Sync & completer)
Request that the previously-returned VMO buffer's data be updated. The
data may not be updated if it was already recently updated (updates are
limited to an unspecified rate, but approximately every few seconds).
void WireServer ()
Defined at line 3862 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/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 3863 of file fidling/gen/sdk/fidl/fuchsia.kernel/fuchsia.kernel/cpp/fidl/fuchsia.kernel/cpp/wire_messaging.h