A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
Loading...
Searching...
No Matches
registry.h File Reference

The action registry: a catalogue of named schema/handler pairs. More...

#include <memory>
#include <string>
#include <string_view>
#include <vector>
#include <absl/base/thread_annotations.h>
#include <absl/container/flat_hash_map.h>
#include <absl/status/status.h>
#include <absl/status/statusor.h>
#include "a11/actions/action.h"
#include "a11/actions/schema.h"
#include "a11/data/types.h"
#include "thread/boost_primitives.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  a11::actions::ActionRegistry
 A thread-safe catalogue mapping action names to schema and handler. More...
 

Namespaces

namespace  a11
 
namespace  a11::actions
 

Detailed Description

The action registry: a catalogue of named schema/handler pairs.

a11::actions::ActionRegistry maps an action name to its a11::actions::ActionSchema and its a11::actions::ActionHandler. It is the factory a service uses to turn an incoming request into a runnable a11::actions::Action (via MakeAction), and the source of truth an a11::service::Session consults when dispatching calls it receives from a peer.