template <>
class WireServer
Defined at line 1924 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::LogSettings>|
and |::fidl::ServerEnd
<
::fuchsia_diagnostics::LogSettings>|).
Public Methods
void SetComponentInterest (::fuchsia_diagnostics::wire::LogSettingsSetComponentInterestRequest * request, SetComponentInterestCompleter::Sync & completer)
Requests a change in interest for the matched components.
Each component holds a set of requested interests.
When a new request on LogSettings#SetComponentInterest is received,
the sets for matched components receive the new minimum interest.
If the interest is less than the previous minimum interest, then a
`SetComponentInterest` request is sent with the new minimum interest.
If a connection to `LogSettings` sends another `SetComponentInterest`
request, its previous interest request will be undone.
When the connection to `LogSettings` is finished, the interests are
undone, unless persist is set to true. Each matched component minimum
interest is updated with the new minimum interest in the set.
void WireServer ()
Defined at line 1927 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 1928 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_messaging.h