InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
Message variant for acknowledgement of synchronous replication. More...
#include <Message.h>
Classes | |
struct | ackdispatch_s |
MessageAckDispatch POD (serializable by memcpy) data members. More... | |
Public Member Functions | |
MessageAckDispatch () | |
MessageAckDispatch (int64_t transactionidarg, int statusarg) | |
virtual | ~MessageAckDispatch () |
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 | |
ackdispatch_s | ackdispatchStruct |
Additional Inherited Members |
Message variant for acknowledgement of synchronous replication.
MessageAckDispatch::MessageAckDispatch | ( | ) |
Definition at line 608 of file Message.cc.
MessageAckDispatch::MessageAckDispatch | ( | int64_t | transactionidarg, |
int | statusarg | ||
) |
Message variant for acknowledgement of synchronous replication
transactionidarg | transactionid |
statusarg | replication status |
Definition at line 612 of file Message.cc.
|
virtual |
Definition at line 619 of file Message.cc.
void MessageAckDispatch::clear | ( | ) |
clear contents of this
Definition at line 652 of file Message.cc.
References ackdispatchStruct, and Message::clear().
void MessageAckDispatch::package | ( | class SerializedMessage & | serobj) |
serialize this
serobj | SerializedMessage |
Definition at line 640 of file Message.cc.
References ackdispatchStruct, Message::package(), and SerializedMessage::ser().
Referenced by ser().
string * MessageAckDispatch::ser | ( | ) |
create string with serialized message
Definition at line 628 of file Message.cc.
References SerializedMessage::data, SerializedMessage::getpayloadtype(), logfile, package(), and SerializedMessage::pos.
size_t MessageAckDispatch::size | ( | ) |
get Message size
Definition at line 623 of file Message.cc.
References ackdispatchStruct, SerializedMessage::sersize(), and Message::size().
void MessageAckDispatch::unpack | ( | SerializedMessage & | serobj) |
deserialize into this
serobj | SerializedMessage |
Definition at line 646 of file Message.cc.
References ackdispatchStruct, SerializedMessage::des(), and Message::unpack().
Referenced by Message::des().
ackdispatch_s MessageAckDispatch::ackdispatchStruct |