|
xapian-core
1.4.30
|
Remote backend database class. More...
#include <config.h>#include "remote-database.h"#include <signal.h>#include "safesyssocket.h"#include "autoptr.h"#include "backends/inmemory/inmemory_positionlist.h"#include "net_postlist.h"#include "net_termlist.h"#include "noreturn.h"#include "remote-document.h"#include "omassert.h"#include "realtime.h"#include "net/length.h"#include "net/serialise.h"#include "net/serialise-error.h"#include "serialise-double.h"#include "str.h"#include "stringutils.h"#include "weight/weightinternal.h"#include <cerrno>#include <string>#include <vector>#include "xapian/constants.h"#include "xapian/error.h"#include "xapian/matchspy.h"
Include dependency graph for remote-database.cc:Go to the source code of this file.
Functions | |
| static bool | is_intermediate_reply (int msg_code, int reply_code) |
| Return true if further replies should be expected. More... | |
| static void | throw_handshake_failed (const string &context) |
| static void | throw_connection_closed_unexpectedly () |
Remote backend database class.
Definition in file remote-database.cc.
|
inlinestatic |
Return true if further replies should be expected.
Definition at line 58 of file remote-database.cc.
References MSG_TERMLIST, REPLY_ALLTERMS, REPLY_DOCDATA, REPLY_DOCLENGTH, REPLY_METADATAKEYLIST, REPLY_POSITIONLIST, REPLY_POSTLISTITEM, REPLY_POSTLISTSTART, REPLY_TERMLIST, and REPLY_VALUE.
Referenced by RemoteDatabase::get_message(), and RemoteDatabase::send_message().
|
static |
Definition at line 81 of file remote-database.cc.
Referenced by RemoteDatabase::get_message(), and RemoteDatabase::send_message().
|
static |
Definition at line 73 of file remote-database.cc.
Referenced by RemoteDatabase::get_message(), and RemoteDatabase::update_stats().