dtn::BundleStore Class Reference

#include <BundleStore.h>

Inheritance diagram for dtn::BundleStore:

oasys::InternalKeyDurableTable< _ShimType, _KeyType, _DataType > oasys::Logger dtn::SQLBundleStore List of all members.

Detailed Description

The class for bundle storage is simply an instantiation of the generic oasys durable table interface.

Definition at line 59 of file BundleStore.h.

Public Member Functions

 BundleStore ()
 Constructor.

Static Public Member Functions

static BundleStoreinstance ()
 Singleton instance accessor.
static int init (const oasys::StorageConfig &cfg, oasys::DurableStore *store)
 Boot time initializer that takes as a parameter the storage configuration to use.
static bool initialized ()
 Return true if initialization has completed.

Static Protected Attributes

static BundleStoreinstance_
 singleton instance


Constructor & Destructor Documentation

dtn::BundleStore::BundleStore (  ) 

Constructor.

Definition at line 46 of file BundleStore.cc.

Referenced by init().


Member Function Documentation

static BundleStore* dtn::BundleStore::instance (  )  [inline, static]

Singleton instance accessor.

Definition at line 64 of file BundleStore.h.

References instance_.

Referenced by dtn::DTNServer::close_datastore(), dtn::BundleDaemon::load_bundles(), dtn::BundleActions::store_add(), dtn::BundleActions::store_del(), and dtn::BundleActions::store_update().

static int dtn::BundleStore::init ( const oasys::StorageConfig cfg,
oasys::DurableStore store 
) [inline, static]

Boot time initializer that takes as a parameter the storage configuration to use.

Definition at line 75 of file BundleStore.h.

References BundleStore(), oasys::InternalKeyDurableTable< _ShimType, _KeyType, _DataType >::do_init(), and instance_.

Referenced by dtn::DTNServer::init_datastore().

static bool dtn::BundleStore::initialized (  )  [inline, static]

Return true if initialization has completed.

Definition at line 93 of file BundleStore.h.

References instance_.


Member Data Documentation

BundleStore * dtn::BundleStore::instance_ [static, protected]

singleton instance

Definition at line 96 of file BundleStore.h.

Referenced by init(), initialized(), and instance().


The documentation for this class was generated from the following files:
Generated on Fri Dec 22 14:48:05 2006 for DTN Reference Implementation by  doxygen 1.5.1