38 const std::string & host,
int port,
39 double active_timeout_,
double idle_timeout_,
40 bool writable_,
bool verbose_)
41 : TcpServer(host, port,
true, verbose_),
42 dbpaths(dbpaths_), writable(writable_),
43 active_timeout(active_timeout_), idle_timeout(idle_timeout_)
bool writable
Is this a WritableDatabase?
Xapian::Registry reg
Registry used for (un)serialisation.
Indicates a timeout expired while communicating with a remote database.
Hierarchy of classes which Xapian can throw as exceptions.
void run()
Repeatedly accept messages from the client and process them.
double active_timeout
Timeout between messages during a single operation (in seconds).
double idle_timeout
Timeout between operations (in seconds).
TCP/IP socket based server for RemoteDatabase.
Xapian remote backend server base class.
void set_registry(const Xapian::Registry ®_)
Set the registry used for (un)serialisation.
const std::vector< std::string > dbpaths
Paths to the databases we will open.
std::string get_description() const
Return a string describing this object.
void handle_one_connection(int socket)
Handle a single connection on an already connected socket.
RemoteTcpServer(const RemoteTcpServer &)
Don't allow copying.
All exceptions thrown by Xapian are subclasses of Xapian::Error.
Remote backend server base class.