template <typename Derived>

struct SyncEndpointManagedVeneer

Defined at line 161 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/sync_call.h

A veneer interface object for client/server messaging implementations that

operate on a borrowed client/server endpoint, and where the implementation

automatically manages the buffer for message encoding/decoding. Those

implementations should inherit from this class following CRTP. Example uses

of this veneer:

* Making synchronous one-way or two-way calls.

* Sending events.

|Derived| implementations must not add any state, only behavior.

Public Methods

void SyncEndpointManagedVeneer<Derived> (fidl::internal::AnyUnownedTransport transport)

Defined at line 163 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/sync_call.h

Derived * operator-> ()

Returns a pointer to the concrete messaging implementation.

Defined at line 167 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/sync_call.h

Protected Methods

fidl::internal::AnyUnownedTransport _transport ()

Used by implementations to access the transport, hence prefixed with an

underscore to avoid the unlikely event of a name collision.

Defined at line 179 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/sync_call.h