class ServiceClient

Defined at line 8693 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/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 8696 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h

::zx::result<> connect_hci (::fidl::ServerEnd< ::fuchsia_hardware_bluetooth::Hci> server_end)

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

# 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 8709 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h

::zx::result< ::fidl::ClientEnd< ::fuchsia_hardware_bluetooth::Hci>> connect_hci ()

Connects to the member protocol "hci".

# 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 8727 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h

::zx::result<> connect_hci_transport (::fidl::ServerEnd< ::fuchsia_hardware_bluetooth::HciTransport> server_end)

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

# 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 8749 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h

::zx::result< ::fidl::ClientEnd< ::fuchsia_hardware_bluetooth::HciTransport>> connect_hci_transport ()

Connects to the member protocol "hci_transport".

# 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 8767 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h

::zx::result<> connect_snoop (::fidl::ServerEnd< ::fuchsia_hardware_bluetooth::Snoop> server_end)

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

# 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 8789 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h

::zx::result< ::fidl::ClientEnd< ::fuchsia_hardware_bluetooth::Snoop>> connect_snoop ()

Connects to the member protocol "snoop".

# 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 8807 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h