InfiniSQL  v0.1.2-alpha
Massive Scale Transaction Processing
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TransactionAgent.cc File Reference

Actor which communicates with clients and executes transactions. Coordinates of activities between several other actors. More...

#include "TransactionAgent.h"
#include "Pg.h"
Include dependency graph for TransactionAgent.cc:

Go to the source code of this file.

Functions

void * transactionAgent (void *identity)
 launch Transaction Agent actor More...
 
msgpack::sbuffer * makeSbuf (msgpack::sbuffer *sbuf)
 
msgpack::sbuffer * makeSbuf (vector< string > *v)
 
msgpack::sbuffer * makeSbuf (map< string, string > *m)
 

Detailed Description

Actor which communicates with clients and executes transactions. Coordinates of activities between several other actors.

Author
Mark Travis mtrav.nosp@m.is15.nosp@m.432+s.nosp@m.rc@g.nosp@m.mail..nosp@m.com
Date
Tue Dec 17 14:02:17 2013

Definition in file TransactionAgent.cc.

Function Documentation

msgpack::sbuffer* makeSbuf ( msgpack::sbuffer *  sbuf)

Definition at line 1344 of file TransactionAgent.cc.

Referenced by TransactionAgent::sendResponse().

1345 {
1346  return sbuf;
1347 }

Here is the caller graph for this function:

msgpack::sbuffer* makeSbuf ( vector< string > *  v)

Definition at line 1349 of file TransactionAgent.cc.

1350 {
1351  msgpack::sbuffer *sbuf = new msgpack::sbuffer;
1352  msgpack::pack(*sbuf, *v);
1353  return sbuf;
1354 }
msgpack::sbuffer* makeSbuf ( map< string, string > *  m)

Definition at line 1356 of file TransactionAgent.cc.

1357 {
1358  msgpack::sbuffer *sbuf = new msgpack::sbuffer;
1359  msgpack::pack(*sbuf, *m);
1360  return sbuf;
1361 }
void* transactionAgent ( void *  identity)

launch Transaction Agent actor

Parameters
identityhow to identify actor instance
Returns

Definition at line 633 of file TransactionAgent.cc.

Referenced by TopologyMgr::TopologyMgr().

634 {
636  return NULL;
637 }

Here is the caller graph for this function: