kodi
Classes | Public Types | Public Member Functions | List of all members
CNfsConnection Class Reference
Inheritance diagram for CNfsConnection:
Inheritance graph
[legend]
Collaboration diagram for CNfsConnection:
Collaboration graph
[legend]

Classes

struct  contextTimeout
 
struct  keepAliveStruct
 

Public Types

typedef std::map< struct nfsfh *, struct keepAliveStructtFileKeepAliveMap
 
typedef std::map< std::string, struct contextTimeouttOpenContextMap
 

Public Member Functions

bool Connect (const CURL &url, std::string &relativePath)
 
struct nfs_context * GetNfsContext ()
 
uint64_t GetMaxReadChunkSize ()
 
uint64_t GetMaxWriteChunkSize ()
 
std::list< std::string > GetExportList (const CURL &url)
 
bool splitUrlIntoExportAndPath (const CURL &url, std::string &exportPath, std::string &relativePath, std::list< std::string > &exportList)
 
bool splitUrlIntoExportAndPath (const CURL &url, std::string &exportPath, std::string &relativePath)
 
int stat (const CURL &url, nfs_stat_64 *statbuff)
 
void AddActiveConnection ()
 
void AddIdleConnection ()
 
void CheckIfIdle ()
 
void Deinit ()
 
void resetKeepAlive (const std::string &_exportPath, struct nfsfh *_pFileHandle)
 
void removeFromKeepAliveList (struct nfsfh *_pFileHandle)
 
const std::string & GetConnectedIp () const
 
const std::string & GetConnectedExport () const
 
const std::string GetContextMapId () const
 

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