|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
What a run needs besides the program. More...
#include <cpp/a11/flow/runtime.h>
Public Attributes | |
| std::shared_ptr< HostBridge > | bridge |
| Who answers the questions only the host can: coercion into a registered type, and reading and writing a chunk. | |
| std::shared_ptr< net::WireStream > | dispatch_stream |
For a flow a client runs over a session it already holds: the call steps that belong to the peer are bound to this stream, and the flow's own action is not. | |
What a run needs besides the program.
| std::shared_ptr<HostBridge> a11::flow::RunOptions::bridge |
Who answers the questions only the host can: coercion into a registered type, and reading and writing a chunk.
The native registry's answers are used when this is null.
| std::shared_ptr<net::WireStream> a11::flow::RunOptions::dispatch_stream |
For a flow a client runs over a session it already holds: the call steps that belong to the peer are bound to this stream, and the flow's own action is not.
Binding the flow itself would end the stream when the flow finished, and the session could then dispatch nothing – so a client that passed its stream as the action's would find its second flow unable to reach the peer at all.