template <typename Protocol>

class UnownedServerEnd

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

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

created from an owning |fidl::ServerEnd

<Protocol

>|.

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

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

channel to speak the protocol represented by |Protocol|.

Compared to a |const fidl::ServerEnd

<Protocol

>

&

|,

|fidl::UnownedServerEnd

<Protocol

>| has the additional flexibility of being

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

the associated FIDL protocol.