21 #ifndef XAPIAN_INCLUDED_PROGCLIENT_H 22 #define XAPIAN_INCLUDED_PROGCLIENT_H 24 #include <sys/types.h> 63 const std::string &args,
81 const std::string &args);
93 const std::string &arg,
102 #endif // XAPIAN_INCLUDED_PROGCLIENT_H RemoteDatabase is the baseclass for remote database implementations.
double timeout
The timeout value used in network communications, in seconds.
ProgClient(const ProgClient &)
Don't allow copying.
Implementation of RemoteDatabase using a spawned server.
pid_t child
Process id of the child process.
void operator=(const ProgClient &)
Don't allow assignment.
static std::string get_progcontext(const std::string &progname, const std::string &args)
Generate context string for Xapian::Error exception objects.
RemoteDatabase is the baseclass for remote database implementations.
static int run_program(const std::string &progname, const std::string &args, pid_t &child)
Start the child process.