22 #ifndef XAPIAN_INCLUDED_BACKENDMANAGER_REMOTETCP_H 23 #define XAPIAN_INCLUDED_BACKENDMANAGER_REMOTETCP_H 54 const std::string & file);
73 #endif // XAPIAN_INCLUDED_BACKENDMANAGER_REMOTETCP_H Xapian::WritableDatabase get_writable_database(const std::string &name, const std::string &file)
Create a RemoteTcp Xapian::WritableDatabase object indexing a single file.
~BackendManagerRemoteTcp()
const std::string & get_dbtype() const
Get the database type currently in use.
This class is used to access a database, or a group of databases.
Xapian::Database do_get_database(const std::vector< std::string > &files)
Create a Xapian::Database object indexing multiple files.
unsigned timeout
A timeout value in milliseconds.
void operator=(const BackendManagerRemoteTcp &)
Don't allow assignment.
Xapian::Database get_writable_database_as_database()
Create a Database object for the last opened WritableDatabase.
BackendManager subclass for remote databases.
Base class for backend handling in test harness.
This class provides read/write access to a database.
BackendManager subclass for remotetcp databases.
Xapian::Database get_remote_database(const std::vector< std::string > &files, unsigned int timeout)
Create a RemoteTcp Xapian::Database with the specified timeout.
Xapian::Database get_database_by_path(const std::string &path)
Get a RemoteTcp Xapian::Database instance of the database at path.
Xapian::WritableDatabase get_writable_database_again()
Create a WritableDatabase object for the last opened WritableDatabase.
BackendManagerRemoteTcp(BackendManager *sub_manager_)
BackendManagerRemoteTcp(const BackendManagerRemoteTcp &)
Don't allow copying.
void clean_up()
Called after each test, to perform any necessary cleanup.
std::string last_wdb_name
The path of the last writable database used.
BackendManager subclass for remote databases.