template <typename Protocol>

class UnownedClientEnd

Defined at line 203 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/transport_channel.h

A typed client endpoint that does not claim ownership. It is typically

created from an owning |fidl::ClientEnd

<Protocol

>|.

These types are used by generated FIDL APIs that do not take ownership.

The remote (server) counterpart of the channel expects this end of the

channel to speak the protocol represented by |Protocol|.

Compared to a |const fidl::ClientEnd

<Protocol

>

&

|,

|fidl::UnownedClientEnd

<Protocol

>| has the additional flexibility of being

able to be stored in a member variable or field, while still remembering

the associated FIDL protocol.

Public Methods

zx::unowned_channel channel ()

Defined at line 211 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/internal/transport_channel.h