class AsyncClientBinding
Defined at line 514 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h
The async client binding. The client supports both synchronous and
asynchronous calls. Because the transport lifetime must outlast the duration
of any synchronous calls, and that synchronous calls do not yet support
cancellation, the client binding does not own the transport directly.
Rather, it co-owns the transport between itself and any in-flight sync
calls, using shared pointers.
Public Methods
std::shared_ptr<AsyncClientBinding> Create (async_dispatcher_t * dispatcher, std::shared_ptr<fidl::internal::AnyTransport> transport, std::shared_ptr<ClientBase> client, AsyncEventHandler * error_handler, AnyTeardownObserver && teardown_observer, ThreadingPolicy threading_policy)
Client binding specifics
Defined at line 462 of file ../../sdk/lib/fidl/cpp/wire/async_binding.cc
void ~AsyncClientBinding ()
Defined at line 521 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h
std::shared_ptr<fidl::internal::AnyTransport> GetTransport ()
Obtain the transport and check that the caller is on the appropriate thread.
Defined at line 524 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h