InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
Message variant for transaction processing. More...
#include <Message.h>
Classes | |
struct | transaction_s |
MessageTransaction POD (serializable by memcpy) data members. More... | |
Public Member Functions | |
MessageTransaction () | |
virtual | ~MessageTransaction () |
size_t | size () |
get Message size More... | |
string * | ser () |
create string with serialized message More... | |
void | package (class SerializedMessage &serobj) |
serialize this More... | |
void | unpack (SerializedMessage &serobj) |
deserialize into this More... | |
void | clear () |
clear contents of this More... | |
Public Attributes | |
transaction_s | transactionStruct |
Additional Inherited Members |
MessageTransaction::MessageTransaction | ( | ) |
Definition at line 388 of file Message.cc.
|
virtual |
Definition at line 392 of file Message.cc.
void MessageTransaction::clear | ( | ) |
clear contents of this
Definition at line 426 of file Message.cc.
References Message::clear(), and transactionStruct.
Referenced by MessageSubtransactionCmd::clear(), and MessageCommitRollback::clear().
void MessageTransaction::package | ( | class SerializedMessage & | serobj) |
serialize this
serobj | SerializedMessage |
Definition at line 414 of file Message.cc.
References Message::package(), SerializedMessage::ser(), and transactionStruct.
Referenced by MessageSubtransactionCmd::package(), MessageCommitRollback::package(), and ser().
string * MessageTransaction::ser | ( | ) |
create string with serialized message
Definition at line 402 of file Message.cc.
References SerializedMessage::data, SerializedMessage::getpayloadtype(), logfile, package(), and SerializedMessage::pos.
size_t MessageTransaction::size | ( | ) |
get Message size
Definition at line 397 of file Message.cc.
References SerializedMessage::sersize(), Message::size(), and transactionStruct.
Referenced by MessageSubtransactionCmd::size(), and MessageCommitRollback::size().
void MessageTransaction::unpack | ( | SerializedMessage & | serobj) |
deserialize into this
serobj | SerializedMessage |
Definition at line 420 of file Message.cc.
References SerializedMessage::des(), transactionStruct, and Message::unpack().
Referenced by MessageSubtransactionCmd::unpack(), and MessageCommitRollback::unpack().
transaction_s MessageTransaction::transactionStruct |
Definition at line 430 of file Message.h.
Referenced by clear(), Transaction::continueCommitTransaction(), Transaction::continueSelectRows(), Transaction::continueSqlDelete(), Transaction::continueSqlPredicate(), SubTransaction::drainIndexLockQueue(), SubTransaction::drainRowLockQueue(), Engine::Engine(), package(), SubTransaction::processTransactionMessage(), Transaction::processTransactionMessage(), SubTransaction::replyTransaction(), Transaction::rollback(), SubTransaction::searchReturn1(), Transaction::sendTransaction(), size(), TransactionAgent::TransactionAgent(), SubTransaction::uniqueIndex(), and unpack().