#include "cromp_client.h"#include <crypto/rsa_crypto.h>#include <octopus/octopus.h>#include <octopus/entity_defs.h>#include <octopus/entity_data_bin.h>#include <octopus/infoton.h>#include <sockets/internet_address.h>#include <sockets/machine_uid.h>#include <sockets/spocket.h>#include <sockets/tcpip_stack.h>#include <crypto/blowfish_crypto.h>#include <structures/roller.h>#include <tentacles/encryption_tentacle.h>#include <tentacles/encryption_wrapper.h>#include <tentacles/entity_registry.h>#include <timely/time_stamp.h>#include "cromp_common.h"#include <basis/contracts.h>#include <basis/astring.h>#include <basis/functions.h>#include <basis/mutex.h>#include <configuration/application_configuration.h>#include <loggers/program_wide_logger.h>#include <mathematics/chaos.h>#include <octopus/identity_infoton.h>#include <octopus/unhandled_request.h>#include <processes/ethread.h>#include <structures/static_memory_gremlin.h>#include <tentacles/key_repository.h>#include <tentacles/login_tentacle.h>#include <tentacles/security_infoton.h>#include <timely/time_control.h>

Go to the source code of this file.
Namespaces | |
| namespace | cromp |
Defines | |
| #define | LOG(s) CLASS_EMERGENCY_LOG(program_wide_logger::get(), s) |
| #define | AUTO_LOCK auto_synchronizer l(*_lock) |
| #define | CHECK_LOCKOUT |
| #define | CAST_REPLY(type, varname, newvar, retval) |
Functions | |
| cromp::SAFE_STATIC (byte_array, _empty_blank_verif,) | |
Variables | |
| const int | cromp::MAX_CONN_ATTEMPTS = 3 |
| const int | cromp::INTERCONNECTION_SNOOZE = 200 |
| #define AUTO_LOCK auto_synchronizer l(*_lock) |
Definition at line 72 of file cromp_client.cpp.
Referenced by octopi::file_transfer_tentacle::add_correspondence(), octopi::file_transfer_tentacle::add_path(), cromp::cromp_client::asynch_connect(), octopi::file_transfer_tentacle::cancel_file_transfer(), cromp::cromp_client::connect(), octopi::file_transfer_tentacle::consume(), cromp::cromp_client::disconnect(), cromp::cromp_client::enable_encryption(), cromp::cromp_client::entity(), octopi::file_transfer_tentacle::expunge(), octopi::file_transfer_tentacle::get_differences(), cromp::cromp_client::login(), cromp::cromp_client::next_id(), octopi::file_transfer_tentacle::periodic_actions(), octopi::file_transfer_tentacle::refresh_now(), octopi::file_transfer_tentacle::register_file_transfer(), octopi::file_transfer_tentacle::remove_correspondence(), octopi::file_transfer_tentacle::remove_path(), cromp::cromp_client::reset(), octopi::file_transfer_tentacle::status(), and octopi::file_transfer_tentacle::text_form().
| #define CAST_REPLY | ( | type, | |||
| varname, | |||||
| newvar, | |||||
| retval | ) |
type *newvar = dynamic_cast<type *>(varname); \ if (!newvar) { \ LOG("failed to cast " #varname " to appropriate type, " #type "."); \ WHACK(varname); \ return retval; \ }
Definition at line 83 of file cromp_client.cpp.
Referenced by cromp::cromp_client::login().
| #define CHECK_LOCKOUT |
if (_disallowed) { \ /* we can't do anything now due to the state of the connection. */ \ return NO_CONNECTION; \ }
Definition at line 76 of file cromp_client.cpp.
Referenced by cromp::cromp_client::acquire(), cromp::cromp_client::acquire_any(), cromp::cromp_client::login(), and cromp::cromp_client::submit().
| #define LOG | ( | s | ) | CLASS_EMERGENCY_LOG(program_wide_logger::get(), s) |
Definition at line 62 of file cromp_client.cpp.
1.6.3