template <>
class Server
Defined at line 1222 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/natural_messaging.h
Public Methods
void GetCpuDependencyToken (GetCpuDependencyTokenCompleter::Sync & completer)
Gets the assertive dependency token for the CPU power element.
void AddExecutionStateDependency (AddExecutionStateDependencyRequest & request, AddExecutionStateDependencyCompleter::Sync & completer)
Adds a dependency from the Execution State power element to the target
power element identified by [`dependency_token`] at [`power_level`].
Once the Execution State power element is created, future calls will
return [`fuchsia.power.system/AddExecutionStateDependencyError.BAD_STATE`]
and no changes to Execution State dependencies will be made.
If any required entries in the request are missing, the server will
return [`fuchsia.power.system/AddExecutionStateDependencyError.INVALID_ARGS`].
void Server ()
Defined at line 1225 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/natural_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 ~Server ()
Defined at line 1226 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/natural_messaging.h