template <>
class WireServer
Defined at line 2233 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_storage_partitions::PartitionsAdmin>|
and |::fidl::ServerEnd
<
::fuchsia_storage_partitions::PartitionsAdmin>|).
Public Methods
void ResetPartitionTable (::fuchsia_storage_partitions::wire::PartitionsAdminResetPartitionTableRequest * request, ResetPartitionTableCompleter::Sync & completer)
Wipes and re-initializes the partition table. This is a destructive operation!
If there are any active clients of existing partitions, their connections will be severed.
This function is only intended to be used in product configurations where nothing is
actively using any partitions, so there's no need to make this operation graceful.
Partitions table entries are assigned in the specified order. Empty entries are permitted
(i.e. all fields set to 0) and will result in an empty slot in the partition table, which
allows the table size to be set appropriately.
void WireServer ()
Defined at line 2236 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/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 2237 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/wire_messaging.h