#include <coordinatorapi.h>
|
| CoordinatorAPI (void) |
|
void | setupVirtualCoordinator (CoordinatorInfo *coordInfo, struct in_addr *localIP) |
|
void | waitForCheckpointCommand () |
|
void | connectToCoordOnStartup (CoordinatorMode mode, string progname, DmtcpUniqueProcessId *compId, CoordinatorInfo *coordInfo, struct in_addr *localIP) |
|
void | createNewConnectionBeforeFork (string &progname) |
|
void | connectToCoordOnRestart (CoordinatorMode mode, string progname, UniquePid compGroup, int np, CoordinatorInfo *coordInfo, const char *host, int port, struct in_addr *localIP) |
|
void | closeConnection () |
|
bool | isValid () |
|
void | sendMsgToCoordinator (const DmtcpMessage &msg, const void *extraData=NULL, size_t len=0) |
|
void | recvMsgFromCoordinator (DmtcpMessage *msg, void **extraData=NULL) |
|
void | connectAndSendUserCommand (char c, int *coordCmdStatus=NULL, int *numPeers=NULL, int *isRunning=NULL, int *ckptInterval=NULL) |
|
void | updateCoordCkptDir (const char *dir) |
|
string | getCoordCkptDir (void) |
|
void | sendCkptFilename () |
|
int | sendKeyValPairToCoordinator (const char *id, const void *key, uint32_t key_len, const void *val, uint32_t val_len, int sync=0) |
|
int | sendQueryToCoordinator (const char *id, const void *key, uint32_t key_len, void *val, uint32_t *val_len) |
|
Definition at line 42 of file coordinatorapi.h.
dmtcp::CoordinatorAPI::CoordinatorAPI |
( |
void |
) | |
|
|
inline |
void dmtcp::CoordinatorAPI::closeConnection |
( |
) | |
|
|
inline |
void CoordinatorAPI::connectAndSendUserCommand |
( |
char |
c, |
|
|
int * |
coordCmdStatus = NULL , |
|
|
int * |
numPeers = NULL , |
|
|
int * |
isRunning = NULL , |
|
|
int * |
ckptInterval = NULL |
|
) |
| |
void CoordinatorAPI::connectToCoordOnRestart |
( |
CoordinatorMode |
mode, |
|
|
string |
progname, |
|
|
UniquePid |
compGroup, |
|
|
int |
np, |
|
|
CoordinatorInfo * |
coordInfo, |
|
|
const char * |
host, |
|
|
int |
port, |
|
|
struct in_addr * |
localIP |
|
) |
| |
void CoordinatorAPI::createNewConnectionBeforeFork |
( |
string & |
progname) | |
|
string CoordinatorAPI::getCoordCkptDir |
( |
void |
) | |
|
void CoordinatorAPI::init |
( |
) | |
|
|
static |
bool dmtcp::CoordinatorAPI::isValid |
( |
) | |
|
|
inline |
bool CoordinatorAPI::noCoordinator |
( |
) | |
|
|
static |
static void dmtcp::CoordinatorAPI::operator delete |
( |
void * |
p) | |
|
|
inlinestatic |
static void* dmtcp::CoordinatorAPI::operator new |
( |
size_t |
nbytes, |
|
|
void * |
p |
|
) |
| |
|
inlinestatic |
static void* dmtcp::CoordinatorAPI::operator new |
( |
size_t |
nbytes) | |
|
|
inlinestatic |
void CoordinatorAPI::recvMsgFromCoordinator |
( |
DmtcpMessage * |
msg, |
|
|
void ** |
extraData = NULL |
|
) |
| |
void CoordinatorAPI::restart |
( |
) | |
|
|
static |
void CoordinatorAPI::sendCkptFilename |
( |
) | |
|
int CoordinatorAPI::sendKeyValPairToCoordinator |
( |
const char * |
id, |
|
|
const void * |
key, |
|
|
uint32_t |
key_len, |
|
|
const void * |
val, |
|
|
uint32_t |
val_len, |
|
|
int |
sync = 0 |
|
) |
| |
void CoordinatorAPI::sendMsgToCoordinator |
( |
const DmtcpMessage & |
msg, |
|
|
const void * |
extraData = NULL , |
|
|
size_t |
len = 0 |
|
) |
| |
int CoordinatorAPI::sendQueryToCoordinator |
( |
const char * |
id, |
|
|
const void * |
key, |
|
|
uint32_t |
key_len, |
|
|
void * |
val, |
|
|
uint32_t * |
val_len |
|
) |
| |
void CoordinatorAPI::setupVirtualCoordinator |
( |
CoordinatorInfo * |
coordInfo, |
|
|
struct in_addr * |
localIP |
|
) |
| |
void CoordinatorAPI::updateCoordCkptDir |
( |
const char * |
dir) | |
|
void CoordinatorAPI::waitForCheckpointCommand |
( |
) | |
|
The documentation for this class was generated from the following files: