template <>
class Server
Defined at line 331 of file fidling/gen/sdk/fidl/fuchsia.hardware.reset/fuchsia.hardware.reset/cpp/fidl/fuchsia.hardware.reset/cpp/natural_messaging.h
Public Methods
void Assert (AssertCompleter::Sync & completer)
Asserts the reset pin and leaves it asserted until `Deassert` is called.
void Deassert (DeassertCompleter::Sync & completer)
Deasserts the reset pin.
void Server ()
Defined at line 334 of file fidling/gen/sdk/fidl/fuchsia.hardware.reset/fuchsia.hardware.reset/cpp/fidl/fuchsia.hardware.reset/cpp/natural_messaging.h
void Toggle (ToggleCompleter::Sync & completer)
These methods assert the pin, wait a predetermined amount of time, and then deassert the
pin. The difference between `Toggle` and `ToggleWithTimeout` is that `Toggle` defers to the
Reset driver to choose the timeout duration and `ToggleWithTimeout` allows the client to
specify the timeout.
void ToggleWithTimeout (ToggleWithTimeoutRequest & request, ToggleWithTimeoutCompleter::Sync & completer)
void Status (StatusCompleter::Sync & completer)
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 335 of file fidling/gen/sdk/fidl/fuchsia.hardware.reset/fuchsia.hardware.reset/cpp/fidl/fuchsia.hardware.reset/cpp/natural_messaging.h