template <>
class Server
Defined at line 155 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/cpp/natural_messaging.h
Public Methods
void Server ()
Defined at line 158 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/cpp/natural_messaging.h
void SetRole (SetRoleRequest & request, SetRoleCompleter::Sync & completer)
Sets the given object's performance parameters based on the requested
role. The exact parameters of the role are system dependent and may
vary based on device-specific tuning and/or runtime system goals.
+ request `target` is a handle to a zircon object to which a profile
can be applied.
+ request `role` is the name of the role to apply to the target.
+ request `input_parameters` is a vector of key/value pairs used to
distinguish between multiple variants of the same role.
- response `output_parameters` is a vector of key/value pairs that
roles can be configured to emit.
* error a zx_status value indicating success or failure.
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 159 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/cpp/natural_messaging.h