class InstanceHandler
Defined at line 2447 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/wire_messaging.h
Facilitates member protocol registration for servers.
Public Methods
void InstanceHandler ()
Defined at line 2455 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/wire_messaging.h
void InstanceHandler (Members members)
Construct an instance handler for a FIDL service. Protocol handlers not present in |members|
will not be registered.
Defined at line 2459 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/wire_messaging.h
::zx::result<> add_volume (MemberHandler< ::fuchsia_storage_block::Block> handler)
Adds member "volume" to the service instance. |handler| will be
invoked on connection attempts.
# Errors
Returns ZX_ERR_ALREADY_EXISTS if the member was already added.
Returns ZX_ERR_INVALID_ARGS if |handler| is not initialized.
Defined at line 2481 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/wire_messaging.h
::zx::result<> add_partition (MemberHandler< ::fuchsia_storage_partitions::Partition> handler)
Adds member "partition" to the service instance. |handler| will be
invoked on connection attempts.
# Errors
Returns ZX_ERR_ALREADY_EXISTS if the member was already added.
Returns ZX_ERR_INVALID_ARGS if |handler| is not initialized.
Defined at line 2493 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/wire_messaging.h
::zx::result<> add_overlay (MemberHandler< ::fuchsia_storage_partitions::OverlayPartition> handler)
Adds member "overlay" to the service instance. |handler| will be
invoked on connection attempts.
# Errors
Returns ZX_ERR_ALREADY_EXISTS if the member was already added.
Returns ZX_ERR_INVALID_ARGS if |handler| is not initialized.
Defined at line 2505 of file fidling/gen/sdk/fidl/fuchsia.storage.partitions/fuchsia.storage.partitions/cpp/fidl/fuchsia.storage.partitions/cpp/wire_messaging.h