class ServiceClient
Defined at line 426 of file fidling/gen/sdk/fidl/fuchsia.hardware.block.volume/fuchsia.hardware.block.volume/cpp/fidl/fuchsia.hardware.block.volume/cpp/wire_messaging.h
Client protocol for connecting to member protocols of a service instance.
Public Methods
void ServiceClient (::zx::channel dir, ::fidl::internal::ConnectMemberFunc connect_func)
Defined at line 430 of file fidling/gen/sdk/fidl/fuchsia.hardware.block.volume/fuchsia.hardware.block.volume/cpp/fidl/fuchsia.hardware.block.volume/cpp/wire_messaging.h
::zx::result<> connect_volume (::fidl::ServerEnd< ::fuchsia_storage_block::Block> server_end)
Connects |server_end| to the member protocol "volume".
# Errors
On failure, returns a |zx::error| with status != ZX_OK.
Failures can occur if there was an issue making a |fuchsia.io.Directory/Open| call.
Since the call to |Open| is asynchronous, an error sent by the remote end will not
result in a failure of this method. Any errors sent by the remote will appear on
the reciprocal |ClientEnd| for the |ServerEnd| passed into this method.
Defined at line 443 of file fidling/gen/sdk/fidl/fuchsia.hardware.block.volume/fuchsia.hardware.block.volume/cpp/fidl/fuchsia.hardware.block.volume/cpp/wire_messaging.h
::zx::result< ::fidl::ClientEnd< ::fuchsia_storage_block::Block>> connect_volume ()
Connects to the member protocol "volume".
# Errors
On failure, returns a |zx::error| with status != ZX_OK.
Failures can occur if channel creation failed, or if there was an issue making
a |fuchsia.io.Directory/Open| call.
Since the call to |Open| is asynchronous, an error sent by the remote end will not
result in a failure of this method. Any errors sent by the remote will appear on
the |ClientEnd| returned from this method.
Defined at line 461 of file fidling/gen/sdk/fidl/fuchsia.hardware.block.volume/fuchsia.hardware.block.volume/cpp/fidl/fuchsia.hardware.block.volume/cpp/wire_messaging.h
::zx::result<> connect_inline_encryption (::fidl::ServerEnd< ::fuchsia_hardware_inlineencryption::Device> server_end)
Connects |server_end| to the member protocol "inline_encryption".
# Errors
On failure, returns a |zx::error| with status != ZX_OK.
Failures can occur if there was an issue making a |fuchsia.io.Directory/Open| call.
Since the call to |Open| is asynchronous, an error sent by the remote end will not
result in a failure of this method. Any errors sent by the remote will appear on
the reciprocal |ClientEnd| for the |ServerEnd| passed into this method.
Defined at line 483 of file fidling/gen/sdk/fidl/fuchsia.hardware.block.volume/fuchsia.hardware.block.volume/cpp/fidl/fuchsia.hardware.block.volume/cpp/wire_messaging.h
::zx::result< ::fidl::ClientEnd< ::fuchsia_hardware_inlineencryption::Device>> connect_inline_encryption ()
Connects to the member protocol "inline_encryption".
# Errors
On failure, returns a |zx::error| with status != ZX_OK.
Failures can occur if channel creation failed, or if there was an issue making
a |fuchsia.io.Directory/Open| call.
Since the call to |Open| is asynchronous, an error sent by the remote end will not
result in a failure of this method. Any errors sent by the remote will appear on
the |ClientEnd| returned from this method.
Defined at line 501 of file fidling/gen/sdk/fidl/fuchsia.hardware.block.volume/fuchsia.hardware.block.volume/cpp/fidl/fuchsia.hardware.block.volume/cpp/wire_messaging.h
::zx::result<> connect_node (::fidl::ServerEnd< ::fuchsia_hardware_block_volume::Node> server_end)
Connects |server_end| to the member protocol "node".
# Errors
On failure, returns a |zx::error| with status != ZX_OK.
Failures can occur if there was an issue making a |fuchsia.io.Directory/Open| call.
Since the call to |Open| is asynchronous, an error sent by the remote end will not
result in a failure of this method. Any errors sent by the remote will appear on
the reciprocal |ClientEnd| for the |ServerEnd| passed into this method.
Defined at line 523 of file fidling/gen/sdk/fidl/fuchsia.hardware.block.volume/fuchsia.hardware.block.volume/cpp/fidl/fuchsia.hardware.block.volume/cpp/wire_messaging.h
::zx::result< ::fidl::ClientEnd< ::fuchsia_hardware_block_volume::Node>> connect_node ()
Connects to the member protocol "node".
# Errors
On failure, returns a |zx::error| with status != ZX_OK.
Failures can occur if channel creation failed, or if there was an issue making
a |fuchsia.io.Directory/Open| call.
Since the call to |Open| is asynchronous, an error sent by the remote end will not
result in a failure of this method. Any errors sent by the remote will appear on
the |ClientEnd| returned from this method.
Defined at line 541 of file fidling/gen/sdk/fidl/fuchsia.hardware.block.volume/fuchsia.hardware.block.volume/cpp/fidl/fuchsia.hardware.block.volume/cpp/wire_messaging.h