Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

mdfs::MFileDFS Class Reference

#include <mfiledfs.h>

Inheritance diagram for mdfs::MFileDFS:

mdfs::MDFS MThread List of all members.

Public Member Functions

 MFileDFS ()
 ~MFileDFS ()

Protected Member Functions

virtual void BuildFileQueryResponse (MDFSPeerBase *p, const MQuery &q, std::string &rv)
 Builds a response (a xml string) that will be sent to the client.

virtual bool Login (const std::string &login, const std::string &pwd, MUser &rv)

Detailed Description

A file based DFS
Author:
Mickael Faivre-Macon
A DFS can be base on a real file system with a directory hierarchy or can be virtual and stored in a database


Constructor & Destructor Documentation

MFileDFS::MFileDFS  ) 
 

MFileDFS::~MFileDFS  ) 
 


Member Function Documentation

void MFileDFS::BuildFileQueryResponse MDFSPeerBase p,
const MQuery q,
std::string &  rv
[protected, virtual]
 

Builds a response (a xml string) that will be sent to the client.

Parameters:
path is the path of the file (can be a dir, see MFileType)
fileype is a sum of MFileType
rcount can be -1 for infinite recursion, 0 for just the file info, 1 for the dir and its content, etc... if != 0 then apply only to dfDIR type of files
rv is the response

Implements mdfs::MDFS.

bool MFileDFS::Login const std::string &  login,
const std::string &  pwd,
MUser rv
[protected, virtual]
 

Implements mdfs::MDFS.


The documentation for this class was generated from the following files:


MDFS SourceForge project page and download

SourceForge.net Logo

Generated on Sat Jan 3 03:14:20 2004 for MDFS by doxygen1.3.5