InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
Message variant for committing and rolling back transactions. More...
#include <Message.h>
Public Member Functions | |
MessageCommitRollback () | |
virtual | ~MessageCommitRollback () |
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 | |
std::vector< rowOrField_s > | rofs |
Additional Inherited Members |
Message variant for committing and rolling back transactions.
MessageCommitRollback::MessageCommitRollback | ( | ) |
Definition at line 501 of file Message.cc.
|
virtual |
Definition at line 505 of file Message.cc.
void MessageCommitRollback::clear | ( | ) |
clear contents of this
Definition at line 539 of file Message.cc.
References MessageTransaction::clear(), and rofs.
void MessageCommitRollback::package | ( | class SerializedMessage & | serobj) |
serialize this
serobj | SerializedMessage |
Definition at line 527 of file Message.cc.
References MessageTransaction::package(), rofs, and SerializedMessage::ser().
Referenced by ser().
string * MessageCommitRollback::ser | ( | ) |
create string with serialized message
Definition at line 515 of file Message.cc.
References SerializedMessage::data, SerializedMessage::getpayloadtype(), logfile, package(), and SerializedMessage::pos.
size_t MessageCommitRollback::size | ( | ) |
get Message size
Definition at line 509 of file Message.cc.
References rofs, SerializedMessage::sersize(), and MessageTransaction::size().
void MessageCommitRollback::unpack | ( | SerializedMessage & | serobj) |
deserialize into this
serobj | SerializedMessage |
Definition at line 533 of file Message.cc.
References SerializedMessage::des(), rofs, and MessageTransaction::unpack().
Referenced by Message::des().
std::vector<rowOrField_s> MessageCommitRollback::rofs |
Definition at line 543 of file Message.h.
Referenced by Transaction::addRof(), clear(), Transaction::continueReplaceRow(), Transaction::deadlockAbort(), Ast::evaluate(), package(), SubTransaction::processTransactionMessage(), Transaction::revertback(), Transaction::rollback(), size(), and unpack().