class AsyncTransaction

Defined at line 71 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_transaction.h

An implementation of |fidl::Transaction|. Designed to work with

|fidl::BindServer|, which allows message dispatching of multiple in-flight

asynchronous transactions from a multi-threaded async dispatcher. Note that

|AsyncTransaction| itself is only thread-compatible.

This transaction must always be constructed on the heap and used

asynchronously by the server method handler (via an asynchronous completer).

As such, its implementation is specialized to allow binding teardown to

happen at any point in the background.

Public Methods

void AsyncTransaction (SyncTransaction && transaction)

Defined at line 73 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_transaction.h

void AsyncTransaction (AsyncTransaction && other)

Defined at line 76 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_transaction.h

AsyncTransaction & operator= (AsyncTransaction && other)

Defined at line 77 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/async_transaction.h

zx_status_t Reply (fidl::OutgoingMessage * message, WriteOptions write_options)

Asynchronous transaction methods

Defined at line 104 of file ../../sdk/lib/fidl/cpp/wire/async_transaction.cc

void EnableNextDispatch ()

Defined at line 118 of file ../../sdk/lib/fidl/cpp/wire/async_transaction.cc

void Close (zx_status_t epitaph)

Defined at line 123 of file ../../sdk/lib/fidl/cpp/wire/async_transaction.cc

void InternalError (UnbindInfo error, ErrorOrigin origin)

Defined at line 129 of file ../../sdk/lib/fidl/cpp/wire/async_transaction.cc

std::unique_ptr<Transaction> TakeOwnership ()

Defined at line 135 of file ../../sdk/lib/fidl/cpp/wire/async_transaction.cc

bool DidOrGoingToUnbind ()

Defined at line 140 of file ../../sdk/lib/fidl/cpp/wire/async_transaction.cc