Public Types | Public Member Functions
Tonido::Misc::DomainListLoader Class Reference

Loads the list of lookup domain servers. More...

List of all members.

Public Types

typedef boost::shared_ptr
< DomainListLoader
SharedPtr

Public Member Functions

 DomainListLoader (const std::string &a_localDir, const std::string &a_appRoot, const std::string &a_domainListURL)
 Ctor.
 ~DomainListLoader ()
 Dtor.
std::string getProfileDomain ()
 getProfileDomain

Detailed Description

Loads the list of lookup domain servers.

Loads the list of domains and returns an available domain for creating new profiles on.


Constructor & Destructor Documentation

Tonido::Misc::DomainListLoader::DomainListLoader ( const std::string &  a_localDir,
const std::string &  a_appRoot,
const std::string &  a_domainListURL 
)

Ctor.

Details if Needed...

Tonido::Misc::DomainListLoader::~DomainListLoader ( )

Dtor.

Details if Needed...


Member Function Documentation

std::string Tonido::Misc::DomainListLoader::getProfileDomain ( )

getProfileDomain

Figures out the domain to use when creating new profiles

Returns:
the domain to use, empty if a domain couldn't be found. This is treated as an error.

Generated on Wed Oct 12 2011 21:46:53. © CodeLathe LLC 2007-2011. All Rights Reserved.