InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
execute Outbound Gateway actor More...
#include <ObGateway.h>
Public Member Functions | |
ObGateway (Topology::partitionAddress *myIdentityArg) | |
virtual | ~ObGateway () |
void | updateRemoteGateways () |
Public Attributes | |
Topology::partitionAddress | myIdentity |
class Mboxes | mboxes |
class Topology | myTopology |
Private Attributes | |
std::vector< int > | remoteGateways |
socklen_t | optlen |
int | so_sndbuf |
char * | serstrsmall |
char * | cstrsmall |
bool | ismultinode |
execute Outbound Gateway actor
myIdentityArg | how to identify this |
Definition at line 40 of file ObGateway.h.
ObGateway::ObGateway | ( | Topology::partitionAddress * | myIdentityArg) |
Definition at line 33 of file ObGateway.cc.
References Topology::partitionAddress::address, cfgs, cfg_s::compressgw, cstrsmall, Message::message_s::destAddr, Topology::partitionAddress::instance, Topology::partitionAddress::mbox, mboxes, Message::messageStruct, MessageBatchSerialized::msgbatch, myIdentity, myTopology, MessageBatchSerialized::nmsgs, Topology::addressStruct::nodeid, Topology::nodeid, Mboxes::nodeid, MessageBatchSerialized::msgbatch_s::nodeid, optlen, Mbox::receive(), remoteGateways, SERIALIZEDMAXSIZE, MessageBatchSerialized::msgbatch_s::serializedmsg, serstrsmall, Message::size(), so_sndbuf, Message::message_s::topic, TOPIC_BATCHSERIALIZED, TOPIC_SERIALIZED, TOPIC_TOPOLOGY, Mboxes::update(), and updateRemoteGateways().
|
virtual |
Definition at line 185 of file ObGateway.cc.
References cstrsmall, and serstrsmall.
void ObGateway::updateRemoteGateways | ( | ) |
Definition at line 191 of file ObGateway.cc.
References Topology::ibGateways, Topology::partitionAddress::instance, ismultinode, logfile, myIdentity, myTopology, Topology::nodeid, remoteGateways, setprio(), and so_sndbuf.
Referenced by ObGateway().
|
private |
Definition at line 57 of file ObGateway.h.
Referenced by ObGateway(), and ~ObGateway().
|
private |
Definition at line 58 of file ObGateway.h.
Referenced by updateRemoteGateways().
class Mboxes ObGateway::mboxes |
Definition at line 48 of file ObGateway.h.
Referenced by ObGateway().
Topology::partitionAddress ObGateway::myIdentity |
Definition at line 47 of file ObGateway.h.
Referenced by ObGateway(), and updateRemoteGateways().
class Topology ObGateway::myTopology |
Definition at line 49 of file ObGateway.h.
Referenced by ObGateway(), and updateRemoteGateways().
|
private |
Definition at line 54 of file ObGateway.h.
Referenced by ObGateway().
|
private |
Definition at line 53 of file ObGateway.h.
Referenced by ObGateway(), and updateRemoteGateways().
|
private |
Definition at line 56 of file ObGateway.h.
Referenced by ObGateway(), and ~ObGateway().
|
private |
Definition at line 55 of file ObGateway.h.
Referenced by ObGateway(), and updateRemoteGateways().