CatapultServer  v0.5.0.1 (Elephant)
TransferConfiguration.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include <stdint.h>
23 
24 namespace catapult { namespace utils { class ConfigurationBag; } }
25 
26 namespace catapult { namespace config {
27 
30  public:
32  uint16_t MaxMessageSize;
33 
34  private:
35  TransferConfiguration() = default;
36 
37  public:
40 
43  };
44 }}
catapult::utils::VerifyBagSizeLte
void VerifyBagSizeLte(const ConfigurationBag &bag, size_t expectedSize)
Verifies that the number of properties in bag is no greater than expectedSize.
Definition: utils/ConfigurationUtils.cpp:38
catapult::config::TransferConfiguration::Uninitialized
static TransferConfiguration Uninitialized()
Creates an uninitialized transfer configuration.
Definition: TransferConfiguration.cpp:27
catapult::config::TransferConfiguration::LoadFromBag
static TransferConfiguration LoadFromBag(const utils::ConfigurationBag &bag)
Loads a transfer configuration from bag.
Definition: TransferConfiguration.cpp:31
catapult::utils::ConfigurationBag
A simple bag of properties.
Definition: ConfigurationBag.h:57
catapult::config::TransferConfiguration::MaxMessageSize
uint16_t MaxMessageSize
Maximum transaction message size.
Definition: TransferConfiguration.h:32
catapult::config::TransferConfiguration::TransferConfiguration
TransferConfiguration()=default
catapult::config::TransferConfiguration
Transfer plugin configuration settings.
Definition: TransferConfiguration.h:29
TransferConfiguration.h
ConfigurationUtils.h
catapult::utils::LoadIniProperty
void LoadIniProperty(const ConfigurationBag &bag, const char *section, const char *cppVariableName, T &value)
Definition: utils/ConfigurationUtils.h:34
ConfigurationBag.h
catapult
Definition: AddressExtractionExtension.cpp:28