33 : TcpServer(host, port,
false,
false), path(path_)
46 string start_revision;
47 if (client.
get_message(start_revision, 0.0) !=
'R') {
56 if (dbname.find(
"..") != string::npos) {
A RemoteConnection object provides a bidirectional connection to another RemoteConnection object on a...
int get_message(std::string &result, double end_time)
Read one message from fdin.
std::string path
The path to pass to DatabaseMaster.
~ReplicateTcpServer()
Destructor.
ReplicateTcpServer(const std::string &host, int port, const std::string &path_)
Construct a ReplicateTcpServer and start listening for connections.
void handle_one_connection(int socket)
Handle a single connection on an already connected socket.
Access to a master database for replication.
void write_changesets_to_fd(int fd, const std::string &start_revision, ReplicationInfo *info) const
Write a set of changesets for upgrading the database to a file.
Indicates a problem communicating with a remote database.
Hierarchy of classes which Xapian can throw as exceptions.
RemoteConnection class used by the remote backend.
TCP/IP replication server class.
Replication support for Xapian databases.