template <>
class WireServer
Defined at line 1133 of file fidling/gen/sdk/fidl/fuchsia.paver/fuchsia.paver/cpp/fidl/fuchsia.paver/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_paver::Paver>|
and |::fidl::ServerEnd
<
::fuchsia_paver::Paver>|).
Public Methods
void FindDataSink (::fuchsia_paver::wire::PaverFindDataSinkRequest * request, FindDataSinkCompleter::Sync & completer)
Attempts to auto-discover the data sink where assets and volumes will get paved to.
On devices with GPT, the partition must have a valid FVM partition in order for
auto-discovery to find it. If multiple devices are found suitable, error is returned.
`data_sink` will be closed on error, with an epitaph provided on failure reason.
void FindPartitionTableManager (::fuchsia_paver::wire::PaverFindPartitionTableManagerRequest * request, FindPartitionTableManagerCompleter::Sync & completer)
Like `FindDataSink`, but the returned block device will be dynamic, supporting partition
table manipulation.
`data_sink` will be closed on error, with an epitaph provided on failure reason.
void FindBootManager (::fuchsia_paver::wire::PaverFindBootManagerRequest * request, FindBootManagerCompleter::Sync & completer)
Attempts to auto-discover the boot manager.
`boot_manager` will be closed on error, with an epitaph provided on failure reason.
ZX_ERR_NOT_SUPPORTED indicates lack of support and configuration A is always booted from.
void FindSysconfig (::fuchsia_paver::wire::PaverFindSysconfigRequest * request, FindSysconfigCompleter::Sync & completer)
Find Sysconfig service.
void WireServer ()
Defined at line 1136 of file fidling/gen/sdk/fidl/fuchsia.paver/fuchsia.paver/cpp/fidl/fuchsia.paver/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 1137 of file fidling/gen/sdk/fidl/fuchsia.paver/fuchsia.paver/cpp/fidl/fuchsia.paver/cpp/wire_messaging.h