class ServiceClient

Defined at line 389 of file fidling/gen/src/storage/block-relay/testing/fidl/fuchsia.testing.simple/cpp/fidl/fuchsia.testing.simple/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 393 of file fidling/gen/src/storage/block-relay/testing/fidl/fuchsia.testing.simple/cpp/fidl/fuchsia.testing.simple/cpp/wire_messaging.h

::zx::result<> connect_simple (::fidl::ServerEnd< ::fuchsia_testing_simple::Simple> server_end)

Connects |server_end| to the member protocol "simple".

# 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 406 of file fidling/gen/src/storage/block-relay/testing/fidl/fuchsia.testing.simple/cpp/fidl/fuchsia.testing.simple/cpp/wire_messaging.h

::zx::result< ::fidl::ClientEnd< ::fuchsia_testing_simple::Simple>> connect_simple ()

Connects to the member protocol "simple".

# 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 424 of file fidling/gen/src/storage/block-relay/testing/fidl/fuchsia.testing.simple/cpp/fidl/fuchsia.testing.simple/cpp/wire_messaging.h