21 #ifndef XAPIAN_INCLUDED_REMOTETCPSERVER_H 22 #define XAPIAN_INCLUDED_REMOTETCPSERVER_H 63 int accept_connection();
81 const std::string &host,
int port,
82 double active_timeout,
double idle_timeout,
92 void handle_one_connection(
int socket);
95 #endif // XAPIAN_INCLUDED_REMOTETCPSERVER_H bool writable
Is this a WritableDatabase?
Xapian::Registry reg
Registry used for (un)serialisation.
#define XAPIAN_VISIBILITY_DEFAULT
TCP/IP socket based server for RemoteDatabase.
double active_timeout
Timeout between messages during a single operation (in seconds).
double idle_timeout
Timeout between operations (in seconds).
void set_registry(const Xapian::Registry ®_)
Set the registry used for (un)serialisation.
Define XAPIAN_VISIBILITY_* macros.
Registry for user subclasses.
API for working with Xapian databases.
const std::vector< std::string > dbpaths
Paths to the databases we will open.
Generic TCP/IP socket based server base class.
Class for looking up user subclasses during unserialisation.