feisty meow concerns codebase
2.140
|
Classes | |
class | cromp_client |
class | cromp_common |
A few common features used by both CROMP clients and servers. More... | |
class | cromp_security |
Implements the client registry in a cromp-appropriate manner. More... | |
class | cromp_server |
class | cromp_transaction |
Functions | |
SAFE_STATIC (byte_array, _empty_blank_verif,) | |
SAFE_STATIC_CONST (rsa_crypto, _hidden_localhost_only_key,(encryption_infoton::RSA_KEY_SIZE)) const rsa_crypto &cromp_common | |
byte_array & | cromp_name_array () |
Variables | |
const int | MAX_CONN_ATTEMPTS = 3 |
const int | INTERCONNECTION_SNOOZE = 200 |
const int | STALENESS_PERIOD = 2 * MINUTE_ms |
const int | SEND_DELAY_TIME = 200 |
const int | DATA_AWAIT_SNOOZE = 80 |
const int | QUICK_CROMP_SNOOZE = 28 |
const int | CROMP_BUFFER_CHUNK_SIZE = 256 * KILOBYTE |
const int | MAXIMUM_RECEIVES = 70 |
const int | MAXIMUM_SEND = 128 * KILOBYTE |
const int | CLEANUP_INTERVAL = 28 * SECOND_ms |
const int | DEFAULT_MAX_ENTITY_QUEUE = 14 * basis::MEGABYTE |
the default size we allow per each entity. More... | |
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 |
const int | MAXIMUM_TRANSACTION = 100 * MEGABYTE |
byte_array& cromp::cromp_name_array | ( | ) |
Definition at line 70 of file cromp_transaction.cpp.
References basis::attach().
Referenced by cromp::cromp_transaction::flatten(), and cromp::cromp_transaction::minimum_flat_size().
cromp::SAFE_STATIC | ( | byte_array | , |
_empty_blank_verif | |||
) |
cromp::SAFE_STATIC_CONST | ( | rsa_crypto | , |
_hidden_localhost_only_key | , | ||
(encryption_infoton::RSA_KEY_SIZE) | |||
) | const & |
Definition at line 107 of file cromp_common.cpp.
const int cromp::ACCEPTANCE_SNOOZE = 60 |
Definition at line 84 of file cromp_server.cpp.
Referenced by cromp::cromp_server::look_for_clients().
const int cromp::CLEANUP_INTERVAL = 28 * SECOND_ms |
Definition at line 96 of file cromp_common.cpp.
const int cromp::CROMP_BUFFER_CHUNK_SIZE = 256 * KILOBYTE |
Definition at line 86 of file cromp_common.cpp.
const int cromp::DATA_AWAIT_SNOOZE = 80 |
Definition at line 79 of file cromp_common.cpp.
const int cromp::DATA_AWAIT_TIMEOUT = 14 |
Definition at line 81 of file cromp_server.cpp.
const int cromp::DEAD_CLIENT_CLEANING_INTERVAL = 1 * SECOND_ms |
Definition at line 55 of file cromp_server.cpp.
Referenced by cromp::cromp_server::drop_dead_clients().
const int cromp::DEFAULT_MAX_ENTITY_QUEUE = 14 * basis::MEGABYTE |
the default size we allow per each entity.
note that if there are many entities and they're all getting full, the total allowed will be this number multiplied by the number of entities.
Definition at line 28 of file cromp_common.h.
Referenced by cromp::cromp_common::cromp_common().
const int cromp::DROPPING_INTERVAL = 500 |
Definition at line 78 of file cromp_server.cpp.
const int cromp::EXTREME_SEND_TRIES_ALLOWED = 28 |
Definition at line 69 of file cromp_server.cpp.
const int cromp::INTERCONNECTION_SNOOZE = 200 |
Definition at line 67 of file cromp_client.cpp.
const int cromp::MAX_CONN_ATTEMPTS = 3 |
Definition at line 64 of file cromp_client.cpp.
const int cromp::MAXIMUM_ACTIONS_PER_CLIENT = 4000 |
Definition at line 58 of file cromp_server.cpp.
const int cromp::MAXIMUM_BYTES_PER_SEND = 2 * MEGABYTE |
Definition at line 72 of file cromp_server.cpp.
const int cromp::MAXIMUM_RECEIVES = 70 |
Definition at line 89 of file cromp_common.cpp.
const int cromp::MAXIMUM_SEND = 128 * KILOBYTE |
Definition at line 92 of file cromp_common.cpp.
Referenced by cromp::cromp_common::send_buffer().
const int cromp::MAXIMUM_SIZE_BATCH = 384 * KILOBYTE |
Definition at line 75 of file cromp_server.cpp.
const int cromp::MAXIMUM_TRANSACTION = 100 * MEGABYTE |
Definition at line 42 of file cromp_transaction.cpp.
Referenced by cromp::cromp_transaction::peek_header().
const int cromp::QUICK_CROMP_SNOOZE = 28 |
Definition at line 82 of file cromp_common.cpp.
Referenced by cromp::cromp_common::push_outgoing().
const int cromp::SEND_DELAY_TIME = 200 |
Definition at line 76 of file cromp_common.cpp.
Referenced by cromp::cromp_common::push_outgoing().
const int cromp::SEND_THRESHOLD = 512 * KILOBYTE |
Definition at line 65 of file cromp_server.cpp.
const int cromp::SEND_TRIES_ALLOWED = 1 |
Definition at line 62 of file cromp_server.cpp.
const int cromp::STALENESS_PERIOD = 2 * MINUTE_ms |
Definition at line 72 of file cromp_common.cpp.