template <>

class WireServer

Defined at line 3383 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_power_system::CpuElementManager>|

and |::fidl::ServerEnd

<

::fuchsia_power_system::CpuElementManager>|).

Public Methods

void GetCpuDependencyToken (GetCpuDependencyTokenCompleter::Sync & completer)

Gets the assertive dependency token for the CPU power element.

void AddExecutionStateDependency (::fuchsia_power_system::wire::CpuElementManagerAddExecutionStateDependencyRequest * 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 WireServer ()

Defined at line 3386 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/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 3387 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_messaging.h