#include "cromp_client.h"#include "cromp_common.h"#include "cromp_transaction.h"#include <basis/chaos.h>#include <basis/function.h>#include <basis/istring.h>#include <basis/log_base.h>#include <basis/mutex.h>#include <basis/portable.h>#include <data_struct/static_memory_gremlin.h>#include <mechanisms/ithread.h>#include <mechanisms/roller.cpp>#include <mechanisms/time_stamp.h>#include <octopus/entity_defs.h>#include <octopus/identity_infoton.h>#include <octopus/unhandled_request.h>#include <sockets/address.h>#include <sockets/machine_uid.h>#include <sockets/spocket.h>#include <sockets/tcpip_stack.h>#include <tentacles/encryption_tentacle.h>#include <tentacles/encryption_wrapper.h>#include <tentacles/entity_registry.h>#include <tentacles/key_repository.h>#include <tentacles/login_tentacle.h>#include <tentacles/security_infoton.h>#include <crypto/rsa_crypto.h>Include dependency graph for cromp_client.cpp:

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

Go to the source code of this file.
Defines | |
| #define | LOG(s) CLASS_EMERGENCY_LOG(program_wide_logger(), s) |
| #define | FILT_LOG(filter, s) CLASS_FILTER_LOG(program_wide_logger(), s, filter) |
| #define | AUTO_LOCK auto_synchronizer l(*_lock) |
| #define | CHECK_LOCKOUT |
| #define | CAST_REPLY(type, varname, newvar, retval) |
Variables | |
| const int | MAX_CONN_ATTEMPTS = 3 |
| const int | INTERCONNECTION_SNOOZE = 200 |
| #define AUTO_LOCK auto_synchronizer l(*_lock) |
Definition at line 66 of file cromp_client.cpp.
| #define CAST_REPLY | ( | type, | |||
| varname, | |||||
| newvar, | |||||
| retval | ) |
Value:
type *newvar = dynamic_cast<type *>(varname); \ if (!newvar) { \ LOG("failed to cast " #varname " to appropriate type, " #type "."); \ WHACK(varname); \ return retval; \ }
Definition at line 77 of file cromp_client.cpp.
Referenced by cromp_client::login().
| #define CHECK_LOCKOUT |
Value:
if (_disallowed) { \ /* we can't do anything now due to the state of the connection. */ \ return NO_CONNECTION; \ }
Definition at line 70 of file cromp_client.cpp.
Referenced by cromp_client::acquire(), cromp_client::login(), and cromp_client::submit().
| #define FILT_LOG | ( | filter, | |||
| s | ) | CLASS_FILTER_LOG(program_wide_logger(), s, filter) |
Definition at line 56 of file cromp_client.cpp.
Referenced by spocket::connect(), and cromp_client::synchronous_request().
| #define LOG | ( | s | ) | CLASS_EMERGENCY_LOG(program_wide_logger(), s) |
Definition at line 54 of file cromp_client.cpp.
| const int INTERCONNECTION_SNOOZE = 200 |
Definition at line 61 of file cromp_client.cpp.
| const int MAX_CONN_ATTEMPTS = 3 |
Definition at line 58 of file cromp_client.cpp.
1.5.1