|
CatapultServer
v0.5.0.1 (Elephant)
|
Process bootstrapper. More...

Public Member Functions | |
| ProcessBootstrapper (const config::CatapultConfiguration &config, const std::string &resourcesPath, ProcessDisposition disposition, const std::string &servicePoolName) | |
| Creates a process bootstrapper around config, resourcesPath, disposition and servicePoolName. More... | |
| const config::CatapultConfiguration & | config () const |
| Gets the configuration. More... | |
| const std::string & | resourcesPath () const |
| Gets the resources path. More... | |
| ProcessDisposition | disposition () const |
| Gets the process disposition. More... | |
| const std::vector< ionet::Node > & | staticNodes () const |
| Gets the static (pretrusted) nodes. More... | |
| thread::MultiServicePool & | pool () |
| Gets the multiservice pool. More... | |
| ExtensionManager & | extensionManager () |
| Gets the extension manager. More... | |
| subscribers::SubscriptionManager & | subscriptionManager () |
| Gets the subscription manager. More... | |
| plugins::PluginManager & | pluginManager () |
| Gets the plugin manager. More... | |
| void | loadExtensions () |
| Loads all configured extensions. More... | |
| void | addStaticNodes (const std::vector< ionet::Node > &nodes) |
| Adds static nodes to the bootstrapper. More... | |
Private Attributes | |
| config::CatapultConfiguration | m_config |
| std::string | m_resourcesPath |
| ProcessDisposition | m_disposition |
| std::unique_ptr< thread::MultiServicePool > | m_pMultiServicePool |
| std::vector< plugins::PluginModule > | m_extensionModules |
| ExtensionManager | m_extensionManager |
| subscribers::SubscriptionManager | m_subscriptionManager |
| plugins::PluginManager | m_pluginManager |
| std::vector< ionet::Node > | m_nodes |
Process bootstrapper.
| catapult::extensions::ProcessBootstrapper::ProcessBootstrapper | ( | const config::CatapultConfiguration & | config, |
| const std::string & | resourcesPath, | ||
| ProcessDisposition | disposition, | ||
| const std::string & | servicePoolName | ||
| ) |
Creates a process bootstrapper around config, resourcesPath, disposition and servicePoolName.
| void catapult::extensions::ProcessBootstrapper::addStaticNodes | ( | const std::vector< ionet::Node > & | nodes | ) |
Adds static nodes to the bootstrapper.

| const config::CatapultConfiguration & catapult::extensions::ProcessBootstrapper::config | ( | ) | const |
Gets the configuration.

| ProcessDisposition catapult::extensions::ProcessBootstrapper::disposition | ( | ) | const |
Gets the process disposition.
| ExtensionManager & catapult::extensions::ProcessBootstrapper::extensionManager | ( | ) |
Gets the extension manager.
| void catapult::extensions::ProcessBootstrapper::loadExtensions | ( | ) |
Loads all configured extensions.

| plugins::PluginManager & catapult::extensions::ProcessBootstrapper::pluginManager | ( | ) |
Gets the plugin manager.
| thread::MultiServicePool & catapult::extensions::ProcessBootstrapper::pool | ( | ) |
Gets the multiservice pool.
| const std::string & catapult::extensions::ProcessBootstrapper::resourcesPath | ( | ) | const |
Gets the resources path.
| const std::vector< ionet::Node > & catapult::extensions::ProcessBootstrapper::staticNodes | ( | ) | const |
Gets the static (pretrusted) nodes.

| subscribers::SubscriptionManager & catapult::extensions::ProcessBootstrapper::subscriptionManager | ( | ) |
Gets the subscription manager.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |