dispatcher
Change-Id: I5ff25afcba3f03249ae32cf9c656f69ecc38d424
diff --git a/src/content-server.hpp b/src/content-server.hpp
index ccba737..809b2e9 100644
--- a/src/content-server.hpp
+++ b/src/content-server.hpp
@@ -45,7 +45,8 @@
public:
ContentServer(Face& face, ActionLogPtr actionLog, const boost::filesystem::path& rootDir,
const Name& userName, const std::string& sharedFolderName,
- const std::string& appName, KeyChain& keyChain, int freshness = -1);
+ const name::Component& appName, KeyChain& keyChain,
+ time::milliseconds freshness = time::seconds(5));
~ContentServer();
// the assumption is, when the interest comes in, interest is informs of
@@ -90,7 +91,7 @@
Mutex m_mutex;
boost::filesystem::path m_dbFolder;
- int m_freshness;
+ time::milliseconds m_freshness;
Scheduler m_scheduler;
util::scheduler::ScopedEventId m_flushStateDbCacheEvent;
@@ -100,7 +101,7 @@
Name m_userName;
std::string m_sharedFolderName;
- std::string m_appName;
+ name::Component m_appName;
KeyChain& m_keyChain;
};