21 #ifndef XAPIAN_INCLUDED_REPLICATETCPCLIENT_H 22 #define XAPIAN_INCLUDED_REPLICATETCPCLIENT_H 30 # define SOCKET_INITIALIZER_MIXIN : private WinsockInitializer 32 # define SOCKET_INITIALIZER_MIXIN 38 void operator=(
const ReplicateTcpClient &);
41 ReplicateTcpClient(
const ReplicateTcpClient &);
59 static int open_socket(
const std::string & hostname,
int port,
60 double timeout_connect);
71 ReplicateTcpClient(
const std::string & hostname,
int port,
72 double timeout_connect,
double socket_timeout);
74 void update_from_master(
const std::string & path,
75 const std::string & remotedb,
77 double reader_close_time,
81 ~ReplicateTcpClient();
84 #endif // XAPIAN_INCLUDED_REPLICATETCPCLIENT_H RemoteConnection class used by the remote backend.
OwnedRemoteConnection remconn
Write-only connection to the server.
#define XAPIAN_VISIBILITY_DEFAULT
Define XAPIAN_VISIBILITY_* macros.
Information about the steps involved in performing a replication.
RemoteConnection which owns its own fd(s).
Replication support for Xapian databases.
int open_socket(const std::string &hostname, int port, double timeout_connect, bool tcp_nodelay)
Attempt to open a TCP/IP socket connection to a server.
TCP/IP replication client class.