CatapultServer
v0.5.0.1 (Elephant)
|
Settings used to initialize a selector task. More...
Public Member Functions | |
SelectorSettings (const cache::CatapultCache &cache, Importance totalChainImportance, ionet::NodeContainer &nodes, ionet::ServiceIdentifier serviceId, ionet::NodeRoles requiredRole, const config::NodeConfiguration::ConnectionsSubConfiguration &config) | |
Creates settings around cache, totalChainImportance, nodes, serviceId, requiredRole and config. More... | |
SelectorSettings (const cache::CatapultCache &cache, Importance totalChainImportance, ionet::NodeContainer &nodes, ionet::ServiceIdentifier serviceId, const config::NodeConfiguration::ConnectionsSubConfiguration &config) | |
Creates settings around cache, totalChainImportance, nodes, serviceId and config. More... | |
Public Attributes | |
ionet::NodeContainer & | Nodes |
Container of nodes from which to select. More... | |
ionet::ServiceIdentifier | ServiceId |
Service identifier for selection. More... | |
ionet::NodeRoles | RequiredRole |
Required role for selection (if applicable). More... | |
config::NodeConfiguration::ConnectionsSubConfiguration | Config |
Connections configuration. More... | |
extensions::ImportanceRetriever | ImportanceRetriever |
Retrieves an account importance given a public key. More... | |
Settings used to initialize a selector task.
catapult::extensions::SelectorSettings::SelectorSettings | ( | const cache::CatapultCache & | cache, |
Importance | totalChainImportance, | ||
ionet::NodeContainer & | nodes, | ||
ionet::ServiceIdentifier | serviceId, | ||
ionet::NodeRoles | requiredRole, | ||
const config::NodeConfiguration::ConnectionsSubConfiguration & | config | ||
) |
Creates settings around cache, totalChainImportance, nodes, serviceId, requiredRole and config.
catapult::extensions::SelectorSettings::SelectorSettings | ( | const cache::CatapultCache & | cache, |
Importance | totalChainImportance, | ||
ionet::NodeContainer & | nodes, | ||
ionet::ServiceIdentifier | serviceId, | ||
const config::NodeConfiguration::ConnectionsSubConfiguration & | config | ||
) |
Creates settings around cache, totalChainImportance, nodes, serviceId and config.
config::NodeConfiguration::ConnectionsSubConfiguration catapult::extensions::SelectorSettings::Config |
Connections configuration.
extensions::ImportanceRetriever catapult::extensions::SelectorSettings::ImportanceRetriever |
Retrieves an account importance given a public key.
ionet::NodeContainer& catapult::extensions::SelectorSettings::Nodes |
Container of nodes from which to select.
ionet::NodeRoles catapult::extensions::SelectorSettings::RequiredRole |
Required role for selection (if applicable).
ionet::ServiceIdentifier catapult::extensions::SelectorSettings::ServiceId |
Service identifier for selection.