A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::actions::ReferenceMirrorRegistry Class Reference

Rewrites inaccessible references to ordered, receiver-owned mirror nodes. More...

#include <cpp/a11/actions/reference_mirror.h>

Classes

struct  State
 

Public Member Functions

 ReferenceMirrorRegistry (std::shared_ptr< net::WireStream > stream, std::vector< std::string > direct_storage_ids)
 Configure one peer's transport and directly readable storage namespaces.
 
absl::StatusOr< data::NodeRef > Rewrite (const data::NodeRef &reference, const std::shared_ptr< nodes::NodeMap > &source_map)
 Start or reuse a mirror and return the peer-readable reference.
 

Detailed Description

Rewrites inaccessible references to ordered, receiver-owned mirror nodes.

Constructor & Destructor Documentation

◆ ReferenceMirrorRegistry()

a11::actions::ReferenceMirrorRegistry::ReferenceMirrorRegistry ( std::shared_ptr< net::WireStream >  stream,
std::vector< std::string >  direct_storage_ids 
)

Configure one peer's transport and directly readable storage namespaces.

Member Function Documentation

◆ Rewrite()

absl::StatusOr< data::NodeRef > a11::actions::ReferenceMirrorRegistry::Rewrite ( const data::NodeRef &  reference,
const std::shared_ptr< nodes::NodeMap > &  source_map 
)

Start or reuse a mirror and return the peer-readable reference.


The documentation for this class was generated from the following files: