dtn::DTNStorageConfig Class Reference

#include <DTNStorageConfig.h>

Inheritance diagram for dtn::DTNStorageConfig:

oasys::StorageConfig

List of all members.


Detailed Description

Subclass of the basic oasys storage config to add dtn-specific configuration variables.

Definition at line 28 of file 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.

Constructor & Destructor Documentation

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.


Member Data Documentation

std::string dtn::DTNStorageConfig::payload_dir_

Directory to store payload files.

Definition at line 42 of file DTNStorageConfig.h.

Referenced by dtn::DTNServer::init_datastore(), dtn::BundleStore::payload_dir(), dtnsim::Simulator::Simulator(), and 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().

u_int dtn::DTNStorageConfig::payload_fd_cache_size_

Number of payload file descriptors to keep open in a cache.

Definition at line 48 of file DTNStorageConfig.h.

Referenced by dtn::StorageCommand::StorageCommand().


The documentation for this class was generated from the following file:
Generated on Sat Sep 8 08:36:23 2007 for DTN Reference Implementation by  doxygen 1.5.3