class AsyncServerBinding
Defined at line 445 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h
The async server binding. It directly owns the transport.
Public Methods
std::shared_ptr<AsyncServerBinding> Create (async_dispatcher_t * dispatcher, fidl::internal::AnyTransport && server_end, IncomingMessageDispatcher * interface, ThreadingPolicy threading_policy, AnyOnUnboundFn && on_unbound_fn)
Server binding specifics
Defined at line 408 of file ../../sdk/lib/fidl/cpp/wire/async_binding.cc
std::optional<DispatchError> Dispatch (fidl::IncomingHeaderAndMessage & msg, bool * next_wait_begun_early, internal::MessageStorageViewBase * storage_view)
Defined at line 419 of file ../../sdk/lib/fidl/cpp/wire/async_binding.cc
void ~AsyncServerBinding ()
Defined at line 456 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h
fidl::internal::AnyUnownedTransport transport ()
Defined at line 458 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h
std::shared_ptr<AsyncServerBinding> shared_from_this ()
Defined at line 460 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h
void Close (std::shared_ptr<AsyncBinding> && calling_ref, zx_status_t epitaph)
Start closing the server connection with an |epitaph|.
Defined at line 469 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h
void AsyncServerBinding (async_dispatcher_t * dispatcher, fidl::internal::AnyTransport && server_end, IncomingMessageDispatcher * interface, ThreadingPolicy threading_policy, ConstructionKey key, AnyOnUnboundFn && on_unbound_fn)
Do not construct this object outside of this class. This constructor takes
a private type following the pass-key idiom to support |make_shared|.
Defined at line 475 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h
IncomingMessageDispatcher * interface ()
Defined at line 483 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_binding.h