|
template<class TQueue > |
| FileServer (FileLoader &fileLoader, const std::string &root, TQueue &backgroundQueue) |
|
template<class TQueue > |
void | AddPackageFile (const std::string &path, TQueue &backgroundQueue) |
|
void | SetFileList (const std::string &files) |
| SetFileList is used as an alternative to contents.txt file. More...
|
|
template<class TQueue > |
void | ReadFile (Hash file, std::function< void(Blob &)> handler, TQueue &handlerQueue) const |
| Read entire file and pass contents to handler. More...
|
|
template<class TQueue > |
void | ReadFile (Hash file, std::function< void(Blob &)> handler, TQueue &handlerQueue, typename TQueue::FinishFlag &finishFlag) const |
| Read entire file and pass contents to handler. More...
|
|
template<class TQueue > |
Blob | ReadFileSync (Hash file, TQueue &backgroundQueue) const |
|
template<class TFileLoader>
class molecular::util::FileServer< TFileLoader >
Supports PAK-like archive files and plain files.