feisty meow concerns codebase
2.140
|
#include <cromp_transaction.h>
Public Types | |
enum | outcomes { OKAY = basis::common::OKAY , GARBAGE = basis::common::GARBAGE , PARTIAL = basis::common::PARTIAL , DEFINE_OUTCOME , DEFINE_OUTCOME } |
Public Member Functions | |
virtual | ~cromp_transaction () |
DEFINE_CLASS_NAME ("cromp_transaction") | |
Static Public Member Functions | |
static const char * | outcome_name (const basis::outcome &to_name) |
static void | flatten (basis::byte_array &packed_form, const octopi::infoton &request, const octopi::octopus_request_id &id) |
static bool | unflatten (basis::byte_array &packed_form, basis::byte_array &still_flat, octopi::octopus_request_id &id) |
static int | minimum_flat_size (const octopi::octopus_request_id &id) |
static int | minimum_flat_size (const structures::string_array &classifier, const octopi::octopus_request_id &id) |
static bool | resynchronize (basis::byte_array &packed_form) |
static basis::outcome | peek_header (const basis::byte_array &packed_form, int &length) |
Definition at line 31 of file cromp_transaction.h.
Enumerator | |
---|---|
OKAY | |
GARBAGE | |
PARTIAL | |
DEFINE_OUTCOME | |
DEFINE_OUTCOME |
Definition at line 37 of file cromp_transaction.h.
|
virtual |
Definition at line 58 of file cromp_transaction.cpp.
cromp::cromp_transaction::DEFINE_CLASS_NAME | ( | "cromp_transaction" | ) |
|
static |
Definition at line 108 of file cromp_transaction.cpp.
References continuable_error, copy(), cromp::cromp_name_array(), FUNCDEF, basis::array< contents >::last(), basis::array< contents >::length(), LOG, basis::astring::s(), static_class_name, and basis::array< contents >::subarray().
Referenced by cromp::cromp_common::pack_and_ship().
|
static |
Definition at line 94 of file cromp_transaction.cpp.
References cromp::cromp_name_array(), and basis::array< contents >::length().
|
static |
Definition at line 100 of file cromp_transaction.cpp.
|
static |
Definition at line 61 of file cromp_transaction.cpp.
References basis::outcome::value().
|
static |
Definition at line 231 of file cromp_transaction.cpp.
References FUNCDEF, basis::array< contents >::length(), LOG, cromp::MAXIMUM_TRANSACTION, and basis::astring::s().
|
static |
Definition at line 195 of file cromp_transaction.cpp.
References CHECK_LENGTH, FUNCDEF, basis::array< contents >::length(), LOG, and WHACK_AND_GO.
|
static |
Definition at line 156 of file cromp_transaction.cpp.
References continuable_error, FUNCDEF, basis::array< contents >::length(), LOG, octopi::octopus_request_id::packed_size(), basis::array< contents >::reset(), static_class_name, basis::array< contents >::subarray(), octopi::octopus_request_id::unpack(), and basis::array< contents >::zap().