29 #include <string_view>
36 Remote::open(string_view host,
unsigned int port,
unsigned timeout_,
37 unsigned connect_timeout)
41 connect_timeout * 1e-3,
false, 0)));
46 unsigned timeout_,
unsigned connect_timeout,
51 connect_timeout * 1e-3,
true,
65 unsigned timeout_,
int flags)
69 timeout_ * 1e-3,
true, flags)));
Implementation of RemoteDatabase using a spawned server.
TCP/IP socket based RemoteDatabase implementation.
An indexed database of documents.
This class provides read/write access to a database.
Factory functions for constructing Database and WritableDatabase objects.
#define LOGCALL_STATIC(CATEGORY, TYPE, FUNC, PARAMS)
WritableDatabase open_writable(std::string_view host, unsigned int port, unsigned timeout=0, unsigned connect_timeout=10000, int flags=0)
Construct a WritableDatabase object for update access to a remote database accessed via a TCP connect...
Database open(std::string_view host, unsigned int port, unsigned timeout=10000, unsigned connect_timeout=10000)
Construct a Database object for read-only access to a remote database accessed via a TCP connection.
The Xapian namespace contains public interfaces for the Xapian library.
Implementation of RemoteDatabase using a spawned server.
TCP/IP socket based RemoteDatabase implementation.