class ServiceClient

Defined at line 537 of file fidling/gen/src/devices/tests/v2/runtime-dispatcher/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/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 541 of file fidling/gen/src/devices/tests/v2/runtime-dispatcher/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/wire_messaging.h

::zx::result<> connect_handshake (::fidl::ServerEnd< ::fuchsia_runtime_test::Handshake> server_end)

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

# 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 554 of file fidling/gen/src/devices/tests/v2/runtime-dispatcher/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/wire_messaging.h

::zx::result< ::fidl::ClientEnd< ::fuchsia_runtime_test::Handshake>> connect_handshake ()

Connects to the member protocol "handshake".

# 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 572 of file fidling/gen/src/devices/tests/v2/runtime-dispatcher/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/wire_messaging.h

::zx::result<> connect_setter (::fdf::ServerEnd< ::fuchsia_runtime_test::Setter> server_end)

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

# 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 668 of file fidling/gen/src/devices/tests/v2/runtime-protocol/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/driver/wire_messaging.h

::zx::result< ::fdf::ClientEnd< ::fuchsia_runtime_test::Setter>> connect_setter ()

Connects to the member protocol "setter".

# 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 686 of file fidling/gen/src/devices/tests/v2/runtime-protocol/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/driver/wire_messaging.h

::zx::result<> connect_getter (::fdf::ServerEnd< ::fuchsia_runtime_test::Getter> server_end)

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

# 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 708 of file fidling/gen/src/devices/tests/v2/runtime-protocol/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/driver/wire_messaging.h

::zx::result< ::fdf::ClientEnd< ::fuchsia_runtime_test::Getter>> connect_getter ()

Connects to the member protocol "getter".

# 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 726 of file fidling/gen/src/devices/tests/v2/runtime-protocol/fuchsia.runtime.test/cpp/fidl/fuchsia.runtime.test/cpp/driver/wire_messaging.h