Action Engine
Loading...
Searching...
No Matches
act::Session Class Reference

Detailed Description

A session for handling ActionEngine actions.

This class is used to manage the lifecycle of a session, including dispatching messages and managing nodes and actions.

#include <actionengine/service/session.h>

Public Member Functions

 Session (NodeMap *absl_nonnull node_map, ActionRegistry *absl_nullable action_registry=nullptr, ChunkStoreFactory chunk_store_factory={})
 

Constructor & Destructor Documentation

◆ Session()

act::Session::Session ( NodeMap *absl_nonnull node_map,
ActionRegistry *absl_nullable action_registry = nullptr,
ChunkStoreFactory chunk_store_factory = {} )
explicit

Constructs a Session with the given NodeMap and optional ActionRegistry.

Parameters
node_mapThe NodeMap to use for this session. Must not be null.
action_registryThe ActionRegistry to use for this session. If null, no actions will be available in this session, only data exchange.
chunk_store_factoryThe factory to use for creating chunk stores. Defaults to an empty factory, which means that the choice is delegated to the NodeMap.

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