template <>

class WireServer

Defined at line 373 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_scheduler::RoleManager>|

and |::fidl::ServerEnd

<

::fuchsia_scheduler::RoleManager>|).

Public Methods

void SetRole (::fuchsia_scheduler::wire::RoleManagerSetRoleRequest * 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.

void WireServer ()

Defined at line 376 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/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 377 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/cpp/fidl/fuchsia.scheduler/cpp/wire_messaging.h