Kagome
Polkadot Runtime Engine in C++17
api_service_impl.hpp File Reference
#include "api/service/api_service.hpp"
#include <functional>
#include <mutex>
#include <type_traits>
#include <unordered_map>
#include <jsonrpc-lean/fault.h>
#include "api/transport/rpc_thread_pool.hpp"
#include "api/transport/session.hpp"
#include "common/buffer.hpp"
#include "containers/objects_cache.hpp"
#include "log/logger.hpp"
#include "primitives/block_id.hpp"
#include "primitives/event_types.hpp"
#include "subscription/subscription_engine.hpp"
Include dependency graph for api_service_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kagome::api::ApiServiceImpl
 
struct  kagome::api::ApiServiceImpl::SessionSubscriptions
 
struct  kagome::api::ApiServiceImpl::ListenerList
 
struct  kagome::api::ApiServiceImpl::ProcessorSpan
 

Namespaces

 kagome::api
 
 kagome::application
 
 kagome::blockchain
 
 kagome::primitives
 
 kagome::storage::trie
 
 kagome::runtime
 
 kagome::subscription
 
 jsonrpc
 

Typedefs

template<typename T >
using kagome::api::UCachedType = std::unique_ptr< T, void(*)(T *const)>
 

Functions

 kagome::api::KAGOME_DECLARE_CACHE (api_service, KAGOME_CACHE_UNIT(std::string), KAGOME_CACHE_UNIT(std::vector< UCachedType< std::string >>)) class JRpcProcessor
 

Class Documentation

struct kagome::api::ApiServiceImpl::SessionSubscriptions

Definition at line 100 of file api_service_impl.hpp.

Collaboration diagram for kagome::api::ApiServiceImpl::SessionSubscriptions:
Class Members
typedef vector
< AdditionMessageType >
AdditionMessagesList
typedef decltype(KAGOME_EXTRACT_UNIQUE_CACHE(api_service,
string))
AdditionMessageType
typedef decltype(KAGOME_EXTRACT_SHARED_CACHE(api_service,
AdditionMessagesList))
CachedAdditionMessagesList
Class Members
ChainEventSubscriberPtr chain_sub
ExtrinsicEventSubscriberPtr ext_sub
CachedAdditionMessagesList messages
StorageEventSubscriberPtr storage_sub
struct kagome::api::ApiServiceImpl::ListenerList

Definition at line 117 of file api_service_impl.hpp.

Collaboration diagram for kagome::api::ApiServiceImpl::ListenerList:
Class Members
vector< sptr< Listener > > listeners
struct kagome::api::ApiServiceImpl::ProcessorSpan

Definition at line 120 of file api_service_impl.hpp.

Collaboration diagram for kagome::api::ApiServiceImpl::ProcessorSpan:
Class Members
span< sptr< JRpcProcessor > > processors