template <>

class Server

Defined at line 331 of file fidling/gen/sdk/fidl/fuchsia.hardware.pinimpl/fuchsia.hardware.pinimpl/cpp/fidl/fuchsia.hardware.pinimpl/cpp/driver/natural_messaging.h

Public Methods

void Read (ReadRequest & request, ReadCompleter::Sync & completer)
void Server ()

Defined at line 334 of file fidling/gen/sdk/fidl/fuchsia.hardware.pinimpl/fuchsia.hardware.pinimpl/cpp/fidl/fuchsia.hardware.pinimpl/cpp/driver/natural_messaging.h

void SetBufferMode (SetBufferModeRequest & request, SetBufferModeCompleter::Sync & completer)
void ConfigureInterrupt (ConfigureInterruptRequest & request, ConfigureInterruptCompleter::Sync & completer)
void GetInterrupt (GetInterruptRequest & request, GetInterruptCompleter::Sync & completer)

The PinImpl server should create a new interrupt object for each call to `GetInterrupt()`.

The interrupt corresponding to `pin` should be unmasked prior to being returned to the

caller.

void ReleaseInterrupt (ReleaseInterruptRequest & request, ReleaseInterruptCompleter::Sync & completer)

The PinImpl server should mask the interrupt corresponding to `pin`.

void Configure (ConfigureRequest & request, ConfigureCompleter::Sync & completer)
Handler bind_handler (fdf_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.pinimpl/fuchsia.hardware.pinimpl/cpp/fidl/fuchsia.hardware.pinimpl/cpp/driver/natural_messaging.h