class ServiceClient
Defined at line 641 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.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 645 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/cpp/wire_messaging.h
::zx::result<> connect_control (::fidl::ServerEnd< ::fuchsia_services_test::ControlPlane> server_end)
Connects |server_end| to the member protocol "control".
# 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 658 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/cpp/wire_messaging.h
::zx::result< ::fidl::ClientEnd< ::fuchsia_services_test::ControlPlane>> connect_control ()
Connects to the member protocol "control".
# 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 676 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/cpp/wire_messaging.h
::zx::result<> connect_data (::fidl::ServerEnd< ::fuchsia_services_test::DataPlane> server_end)
Connects |server_end| to the member protocol "data".
# 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 698 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/cpp/wire_messaging.h
::zx::result< ::fidl::ClientEnd< ::fuchsia_services_test::DataPlane>> connect_data ()
Connects to the member protocol "data".
# 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 716 of file fidling/gen/src/devices/tests/v2/services/fuchsia.services.test/cpp/fidl/fuchsia.services.test/cpp/wire_messaging.h