CatapultServer
v0.5.0.1 (Elephant)
ExecutionConfiguration.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
catapult/model/NetworkInfo.h
"
23
#include "
catapult/model/NotificationPublisher.h
"
24
#include "
catapult/observers/ObserverTypes.h
"
25
#include "
catapult/validators/ValidatorTypes.h
"
26
27
namespace
catapult
{
namespace
chain {
28
30
struct
ExecutionConfiguration
{
31
private
:
32
using
ObserverPointer
= std::shared_ptr<const observers::AggregateNotificationObserver>;
33
using
ValidatorPointer
= std::shared_ptr<const validators::stateful::AggregateNotificationValidator>;
34
using
PublisherPointer
= std::shared_ptr<const model::NotificationPublisher>;
35
using
ResolverContextFactoryFunc
= std::function<
model::ResolverContext
(
const
cache::ReadOnlyCatapultCache
&)>;
36
37
public
:
39
model::NetworkInfo
Network
;
40
42
ObserverPointer
pObserver
;
43
45
ValidatorPointer
pValidator
;
46
48
PublisherPointer
pNotificationPublisher
;
49
51
ResolverContextFactoryFunc
ResolverContextFactory
;
52
};
53
}}
NotificationPublisher.h
catapult::chain::ExecutionConfiguration::ValidatorPointer
std::shared_ptr< const validators::stateful::AggregateNotificationValidator > ValidatorPointer
Definition:
ExecutionConfiguration.h:33
catapult::chain::ExecutionConfiguration::PublisherPointer
std::shared_ptr< const model::NotificationPublisher > PublisherPointer
Definition:
ExecutionConfiguration.h:34
catapult::chain::ExecutionConfiguration::ResolverContextFactoryFunc
std::function< model::ResolverContext(const cache::ReadOnlyCatapultCache &)> ResolverContextFactoryFunc
Definition:
ExecutionConfiguration.h:35
catapult::model::NetworkInfo
Information about a network.
Definition:
NetworkInfo.h:54
catapult::chain::ExecutionConfiguration::Network
model::NetworkInfo Network
Network info.
Definition:
ExecutionConfiguration.h:39
catapult::model::ResolverContext
Context used to resolve unresolved types.
Definition:
ResolverContext.h:28
ObserverTypes.h
catapult::chain::ExecutionConfiguration::ObserverPointer
std::shared_ptr< const observers::AggregateNotificationObserver > ObserverPointer
Definition:
ExecutionConfiguration.h:32
catapult::chain::ExecutionConfiguration::pObserver
ObserverPointer pObserver
Observer.
Definition:
ExecutionConfiguration.h:42
NetworkInfo.h
catapult::chain::ExecutionConfiguration
Configuration for executing entities.
Definition:
ExecutionConfiguration.h:30
ValidatorTypes.h
catapult::chain::ExecutionConfiguration::ResolverContextFactory
ResolverContextFactoryFunc ResolverContextFactory
Resolver context factory.
Definition:
ExecutionConfiguration.h:51
catapult::chain::ExecutionConfiguration::pNotificationPublisher
PublisherPointer pNotificationPublisher
Notification publisher.
Definition:
ExecutionConfiguration.h:48
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::chain::ExecutionConfiguration::pValidator
ValidatorPointer pValidator
Stateful validator.
Definition:
ExecutionConfiguration.h:45
catapult::cache::ReadOnlyCatapultCache
A read-only overlay on top of a catapult cache.
Definition:
ReadOnlyCatapultCache.h:27
catapult-server
src
catapult
chain
ExecutionConfiguration.h
Generated by
1.8.16