template <typename Protocol>

class ClientEnd

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

The client endpoint of a FIDL channel.

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

channel to speak the protocol represented by |Protocol|. This type is the

dual of |ServerEnd|.

|ClientEnd| is thread-compatible: it may be transferred to another thread

or another process.

Public Methods

const zx::channel & channel ()

The underlying channel.

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

zx::channel & channel ()

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

zx::channel TakeChannel ()

Transfers ownership of the underlying channel to the caller.

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