InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
mailbox producer More...
#include <Mbox.h>
Public Member Functions | |
MboxProducer () | |
MboxProducer (class Mbox *mboxarg, int16_t nodeidarg) | |
create mailbox producer More... | |
virtual | ~MboxProducer () |
void | sendMsg (class Message &msgsnd) |
produce Message onto mailbox More... | |
Public Attributes | |
class Mbox * | mbox |
int16_t | nodeid |
class MessageBatchSerialized * | obBatchMsg |
class Mboxes * | mboxes |
Friends | |
class | Mboxes |
MboxProducer::MboxProducer | ( | ) |
MboxProducer::MboxProducer | ( | class Mbox * | mboxarg, |
int16_t | nodeidarg | ||
) |
void MboxProducer::sendMsg | ( | class Message & | msgsnd) |
produce Message onto mailbox
msgsnd | Message |
Definition at line 138 of file Mbox.cc.
References Mbox::counter, Message::message_s::destAddr, Mbox::getInt128FromPointer(), Mbox::getPtr(), mbox, mboxes, Message::messageStruct, MessageBatchSerialized::msgbatch, Message::nextmsg, MessageBatchSerialized::nmsgs, Topology::addressStruct::nodeid, nodeid, obBatchMsg, OBGWMSGBATCHSIZE, Mboxes::sendObBatch(), Message::sermsg(), and Mbox::tail.
Referenced by Listener::Listener(), Mboxes::sendObBatch(), Mboxes::toActor(), and Mboxes::toPartition().
class Mbox* MboxProducer::mbox |
Definition at line 127 of file Mbox.h.
Referenced by Mboxes::Mboxes(), and sendMsg().
class MessageBatchSerialized* MboxProducer::obBatchMsg |
Definition at line 129 of file Mbox.h.
Referenced by sendMsg(), and Mboxes::sendObBatch().