|
xapian-core
2.0.0
|
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 "omassert.h"#include "overflow.h"#include "pack.h"#include "posixy_wrapper.h"#include "realtime.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_message_too_long_for_off_t () |
| static void | throw_timeout (const char *msg, const string &context) |
| 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 57 of file remoteconnection.cc.
| #define POLLSELECT "select" |
| #define POLLSELECT "select" |
|
static |
Definition at line 61 of file remoteconnection.cc.
Referenced by HoneyTable::add(), HoneyTable::cursor_get(), HoneyTable::get_exact_entry(), RemoteConnection::get_message(), RemoteConnection::get_message_chunk(), RemoteConnection::get_message_chunked(), RemoteConnection::receive_file(), RemoteConnection::send_file(), RemoteConnection::send_message(), and RemoteConnection::sniff_next_message_type().
|
static |
Definition at line 68 of file remoteconnection.cc.
Referenced by RemoteConnection::get_message_chunked().
|
static |
Definition at line 75 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 700 of file remoteconnection.cc.
References p.
Referenced by RemoteConnection::receive_file().