Subclass of the basic oasys storage config to add dtn-specific configuration variables. More...
#include <DTNStorageConfig.h>
Public Member Functions | |
DTNStorageConfig (const std::string &cmd, const std::string &type, const std::string &dbname, const std::string &dbdir) | |
Public Attributes | |
std::string | payload_dir_ |
Directory to store payload files. | |
u_int64_t | payload_quota_ |
Total quota for the payload storage. | |
u_int | payload_fd_cache_size_ |
Number of payload file descriptors to keep open in a cache. |
Subclass of the basic oasys storage config to add dtn-specific configuration variables.
Definition at line 28 of file DTNStorageConfig.h.
dtn::DTNStorageConfig::DTNStorageConfig | ( | const std::string & | cmd, | |
const std::string & | type, | |||
const std::string & | dbname, | |||
const std::string & | dbdir | |||
) | [inline] |
Definition at line 30 of file DTNStorageConfig.h.
std::string dtn::DTNStorageConfig::payload_dir_ |
Directory to store payload files.
Definition at line 42 of file DTNStorageConfig.h.
Referenced by dtnsim::Node::Node(), dtn::BundleStore::payload_dir(), and dtn::StorageCommand::StorageCommand().
Number of payload file descriptors to keep open in a cache.
Definition at line 48 of file DTNStorageConfig.h.
Referenced by dtn::StorageCommand::StorageCommand().
u_int64_t dtn::DTNStorageConfig::payload_quota_ |
Total quota for the payload storage.
Definition at line 45 of file DTNStorageConfig.h.
Referenced by dtn::BundleStore::payload_quota(), and dtn::StorageCommand::StorageCommand().