template <>
class WireServer
Defined at line 1349 of file fidling/gen/sdk/fidl/fuchsia.hardware.pinimpl/fuchsia.hardware.pinimpl/cpp/fidl/fuchsia.hardware.pinimpl/cpp/driver/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fdf::ClientEnd
<
::fuchsia_hardware_pinimpl::PinImpl>|
and |::fdf::ServerEnd
<
::fuchsia_hardware_pinimpl::PinImpl>|).
Public Methods
void Read (::fuchsia_hardware_pinimpl::wire::PinImplReadRequest *request,fdf::Arena &arena,ReadCompleter::Sync &completer)
void SetBufferMode (::fuchsia_hardware_pinimpl::wire::PinImplSetBufferModeRequest *request,fdf::Arena &arena,SetBufferModeCompleter::Sync &completer)
void ConfigureInterrupt (::fuchsia_hardware_pinimpl::wire::PinImplConfigureInterruptRequest *request,fdf::Arena &arena,ConfigureInterruptCompleter::Sync &completer)
void GetInterrupt (::fuchsia_hardware_pinimpl::wire::PinImplGetInterruptRequest *request,fdf::Arena &arena,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 (::fuchsia_hardware_pinimpl::wire::PinImplReleaseInterruptRequest *request,fdf::Arena &arena,ReleaseInterruptCompleter::Sync &completer)
The PinImpl server should mask the interrupt corresponding to `pin`.
void Configure (::fuchsia_hardware_pinimpl::wire::PinImplConfigureRequest *request,fdf::Arena &arena,ConfigureCompleter::Sync &completer)
void WireServer ()
Defined at line 1352 of file fidling/gen/sdk/fidl/fuchsia.hardware.pinimpl/fuchsia.hardware.pinimpl/cpp/fidl/fuchsia.hardware.pinimpl/cpp/driver/wire_messaging.h
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 ~WireServer ()
Defined at line 1353 of file fidling/gen/sdk/fidl/fuchsia.hardware.pinimpl/fuchsia.hardware.pinimpl/cpp/fidl/fuchsia.hardware.pinimpl/cpp/driver/wire_messaging.h