class ServiceClient
Defined at line 1465 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/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 1469 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/wire_messaging.h
::zx::result<> connect_regular_echo (::fidl::ServerEnd< ::fuchsia_examples::Echo> server_end)
Connects |server_end| to the member protocol "regular_echo".
# 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 1482 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/wire_messaging.h
::zx::result< ::fidl::ClientEnd< ::fuchsia_examples::Echo>> connect_regular_echo ()
Connects to the member protocol "regular_echo".
# 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 1500 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/wire_messaging.h
::zx::result<> connect_reversed_echo (::fidl::ServerEnd< ::fuchsia_examples::Echo> server_end)
Connects |server_end| to the member protocol "reversed_echo".
# 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 1522 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/wire_messaging.h
::zx::result< ::fidl::ClientEnd< ::fuchsia_examples::Echo>> connect_reversed_echo ()
Connects to the member protocol "reversed_echo".
# 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 1540 of file fidling/gen/examples/fidl/fuchsia.examples/fuchsia.examples/cpp/fidl/fuchsia.examples/cpp/wire_messaging.h