InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
Message variant for acknowledging Applier activities. More...
#include <Message.h>
Classes | |
struct | ackapply_s |
MessageAckApply POD (serializable by memcpy) data members. More... | |
Public Member Functions | |
MessageAckApply () | |
MessageAckApply (int64_t subtransactionidarg, int64_t applieridarg, int64_t partitionidarg, int statusarg) | |
Message variant for acknowledging Applier activities. More... | |
virtual | ~MessageAckApply () |
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 | |
ackapply_s | ackapplyStruct |
Additional Inherited Members |
MessageAckApply::MessageAckApply | ( | ) |
Definition at line 733 of file Message.cc.
MessageAckApply::MessageAckApply | ( | int64_t | subtransactionidarg, |
int64_t | applieridarg, | ||
int64_t | partitionidarg, | ||
int | statusarg | ||
) |
Message variant for acknowledging Applier activities.
subtransactionidarg | subtransactionid |
applieridarg | applierid |
partitionidarg | partitionid |
statusarg | status |
Definition at line 737 of file Message.cc.
|
virtual |
Definition at line 747 of file Message.cc.
void MessageAckApply::clear | ( | ) |
clear contents of this
Definition at line 780 of file Message.cc.
References ackapplyStruct, and Message::clear().
void MessageAckApply::package | ( | class SerializedMessage & | serobj) |
serialize this
serobj | SerializedMessage |
Definition at line 768 of file Message.cc.
References ackapplyStruct, Message::package(), and SerializedMessage::ser().
Referenced by ser().
string * MessageAckApply::ser | ( | ) |
create string with serialized message
Definition at line 756 of file Message.cc.
References SerializedMessage::data, SerializedMessage::getpayloadtype(), logfile, package(), and SerializedMessage::pos.
size_t MessageAckApply::size | ( | ) |
get Message size
Definition at line 751 of file Message.cc.
References ackapplyStruct, SerializedMessage::sersize(), and Message::size().
void MessageAckApply::unpack | ( | SerializedMessage & | serobj) |
deserialize into this
serobj | SerializedMessage |
Definition at line 774 of file Message.cc.
References ackapplyStruct, SerializedMessage::des(), and Message::unpack().
Referenced by Message::des().
ackapply_s MessageAckApply::ackapplyStruct |
Definition at line 844 of file Message.h.
Referenced by Applier::ackedApply(), clear(), package(), size(), TransactionAgent::TransactionAgent(), and unpack().