21 #ifndef XAPIAN_INCLUDED_REMOTETCPSERVER_H
22 #define XAPIAN_INCLUDED_REMOTETCPSERVER_H
81 const std::string &host,
int port,
82 double active_timeout,
double idle_timeout,
92 void handle_one_connection(
int socket);
TCP/IP socket based server for RemoteDatabase.
double active_timeout
Timeout between messages during a single operation (in seconds).
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.
RemoteTcpServer(const RemoteTcpServer &)
Don't allow copying.
void operator=(const RemoteTcpServer &)
Don't allow assignment.
double idle_timeout
Timeout between operations (in seconds).
int accept_connection()
Accept a connection and return the file descriptor for it.
Xapian::Registry reg
Registry used for (un)serialisation.
bool writable
Is this a WritableDatabase?
Registry for user subclasses.
API for working with Xapian databases.
Class for looking up user subclasses during unserialisation.
Generic TCP/IP socket based server base class.
Define XAPIAN_VISIBILITY_* macros.
#define XAPIAN_VISIBILITY_DEFAULT