cromp_server.cpp File Reference

#include "cromp_common.h"
#include "cromp_security.h"
#include "cromp_server.h"
#include <basis/function.h>
#include <basis/istring.h>
#include <basis/log_base.h>
#include <basis/portable.h>
#include <basis/mutex.h>
#include <data_struct/amorph.cpp>
#include <data_struct/unique_id.h>
#include <mechanisms/ithread.h>
#include <mechanisms/thread_cabinet.h>
#include <octopus/entity_data_bin.h>
#include <octopus/entity_defs.h>
#include <octopus/identity_infoton.h>
#include <octopus/infoton.h>
#include <octopus/tentacle.h>
#include <octopus/unhandled_request.h>
#include <sockets/address.h>
#include <sockets/tcpip_stack.h>
#include <sockets/spocket.h>
#include <tentacles/key_repository.h>
#include <tentacles/login_tentacle.h>
#include <tentacles/encryption_tentacle.h>
#include <tentacles/encryption_wrapper.h>

Include dependency graph for cromp_server.cpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LOG(to_print)   CLASS_EMERGENCY_LOG(program_wide_logger(), to_print)
#define LOCK_LISTS   auto_synchronizer l(*_list_lock)

Variables

const int DEAD_CLIENT_CLEANING_INTERVAL = 1 * SECOND_ms
const int MAXIMUM_ACTIONS_PER_CLIENT = 4000
const int SEND_TRIES_ALLOWED = 1
const int SEND_THRESHOLD = 512 * KILOBYTE
const int EXTREME_SEND_TRIES_ALLOWED = 28
const int MAXIMUM_BYTES_PER_SEND = 2 * MEGABYTE
const int MAXIMUM_SIZE_BATCH = 384 * KILOBYTE
const int DROPPING_INTERVAL = 500
const int DATA_AWAIT_TIMEOUT = 14
const int ACCEPTANCE_SNOOZE = 60


Define Documentation

#define LOCK_LISTS   auto_synchronizer l(*_list_lock)

Definition at line 473 of file cromp_server.cpp.

Referenced by cromp_server::clients(), cromp_server::disable_servers(), cromp_server::drop_dead_clients(), cromp_server::find_entity(), and cromp_server::get_from_client().

#define LOG ( to_print   )     CLASS_EMERGENCY_LOG(program_wide_logger(), to_print)

Definition at line 84 of file cromp_server.cpp.


Variable Documentation

const int ACCEPTANCE_SNOOZE = 60

Definition at line 80 of file cromp_server.cpp.

Referenced by cromp_server::look_for_clients().

const int DATA_AWAIT_TIMEOUT = 14

Definition at line 77 of file cromp_server.cpp.

const int DEAD_CLIENT_CLEANING_INTERVAL = 1 * SECOND_ms

Definition at line 51 of file cromp_server.cpp.

Referenced by cromp_server::drop_dead_clients().

const int DROPPING_INTERVAL = 500

Definition at line 74 of file cromp_server.cpp.

const int EXTREME_SEND_TRIES_ALLOWED = 28

Definition at line 65 of file cromp_server.cpp.

const int MAXIMUM_ACTIONS_PER_CLIENT = 4000

Definition at line 54 of file cromp_server.cpp.

const int MAXIMUM_BYTES_PER_SEND = 2 * MEGABYTE

Definition at line 68 of file cromp_server.cpp.

const int MAXIMUM_SIZE_BATCH = 384 * KILOBYTE

Definition at line 71 of file cromp_server.cpp.

const int SEND_THRESHOLD = 512 * KILOBYTE

Definition at line 61 of file cromp_server.cpp.

const int SEND_TRIES_ALLOWED = 1

Definition at line 58 of file cromp_server.cpp.


Generated on Sat Oct 11 04:29:11 2008 for HOOPLE Libraries by  doxygen 1.5.1