#include "global.hpp"
#include "scoped_resource.hpp"
#include "log.hpp"
#include "network_worker.hpp"
#include "filesystem.hpp"
#include "thread.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/parser.hpp"
#include "wesconfig.h"
#include <boost/iostreams/filter/gzip.hpp>
#include <boost/exception/info.hpp>
#include <cerrno>
#include <deque>
#include <sstream>
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <sys/time.h>
#include <unistd.h>
Go to the source code of this file.
Namespaces | |
network_worker_pool | |
Macros | |
#define | SOCKET int |
Network worker handles data transfers in threads Remember to use mutexs as little as possible All global vars should be used in mutex FIXME: More... | |
#define | USE_SELECT 1 |
#define | DBG_NW LOG_STREAM(debug, log_network) |
#define | LOG_NW LOG_STREAM(info, log_network) |
#define | ERR_NW LOG_STREAM(err, log_network) |
#define | NUM_SHARDS 1 |
Enumerations | |
enum | SOCKET_STATE |
Variables | |
static lg::log_domain | log_network ("network") |
#define DBG_NW LOG_STREAM(debug, log_network) |
Definition at line 86 of file network_worker.cpp.
Referenced by network_worker_pool::queue_data(), and network_worker_pool::manager::~manager().
#define ERR_NW LOG_STREAM(err, log_network) |
Definition at line 88 of file network_worker.cpp.
#define LOG_NW LOG_STREAM(info, log_network) |
Definition at line 87 of file network_worker.cpp.
#define NUM_SHARDS 1 |
Definition at line 100 of file network_worker.cpp.
Referenced by network_worker_pool::detect_error(), network_worker_pool::get_pending_stats(), network_worker_pool::manager::manager(), and network_worker_pool::manager::~manager().
#define SOCKET int |
Network worker handles data transfers in threads Remember to use mutexs as little as possible All global vars should be used in mutex FIXME:
Implement read/write locks. (postponed for 1.5)
Definition at line 63 of file network_worker.cpp.
#define USE_SELECT 1 |
Definition at line 72 of file network_worker.cpp.
enum SOCKET_STATE |
Definition at line 143 of file network_worker.cpp.
|
static |