|
xapian-core
1.4.30
|
RemoteConnection class used by the remote backend. More...
#include <config.h>#include "remoteconnection.h"#include <xapian/error.h>#include "safefcntl.h"#include "safeunistd.h"#include "safesysselect.h"#include <algorithm>#include <cerrno>#include <climits>#include <cstdint>#include <string>#include "debuglog.h"#include "fd.h"#include "filetests.h"#include "noreturn.h"#include "omassert.h"#include "overflow.h"#include "posixy_wrapper.h"#include "realtime.h"#include "length.h"#include "socket_utils.h"
Include dependency graph for remoteconnection.cc:Go to the source code of this file.
Macros | |
| #define | CHUNKSIZE 4096 |
| #define | POLLSELECT "select" |
| #define | POLLSELECT "select" |
Functions | |
| static void | throw_database_closed () |
| static void | throw_network_error_insane_message_length () |
| static void | throw_timeout (const char *, const string &) |
| static void | write_all (int fd, const char *p, size_t n) |
| Write n bytes from block pointed to by p to file descriptor fd. More... | |
RemoteConnection class used by the remote backend.
Definition in file remoteconnection.cc.
| #define CHUNKSIZE 4096 |
Definition at line 58 of file remoteconnection.cc.
| #define POLLSELECT "select" |
| #define POLLSELECT "select" |
|
static |
Definition at line 62 of file remoteconnection.cc.
Referenced by RemoteConnection::get_message(), RemoteConnection::get_message_chunk(), RemoteConnection::get_message_chunked(), RemoteConnection::ready_to_read(), RemoteConnection::receive_file(), RemoteConnection::send_file(), RemoteConnection::send_message(), and RemoteConnection::sniff_next_message_type().
|
static |
Definition at line 69 of file remoteconnection.cc.
Referenced by RemoteConnection::get_message(), and RemoteConnection::get_message_chunked().
|
static |
Definition at line 76 of file remoteconnection.cc.
Referenced by RemoteConnection::read_at_least(), RemoteConnection::send_file(), and RemoteConnection::send_message().
|
static |
Write n bytes from block pointed to by p to file descriptor fd.
Definition at line 748 of file remoteconnection.cc.
Referenced by RemoteConnection::receive_file().