DMTCP
|
#include <connectionlist.h>
Public Types | |
typedef map < ConnectionIdentifier, Connection * >::iterator | iterator |
Public Member Functions | |
ConnectionList () | |
virtual | ~ConnectionList () |
void | resetOnFork () |
void | deleteStaleConnections () |
void | add (int fd, Connection *c) |
void | erase (iterator i) |
void | erase (ConnectionIdentifier &key) |
Connection * | getConnection (const ConnectionIdentifier &id) |
Connection * | getConnection (int fd) |
void | processClose (int fd) |
void | processDup (int oldfd, int newfd) |
void | list () |
void | serialize (jalib::JBinarySerializer &o) |
void | eventHook (DmtcpEvent_t event, DmtcpEventData_t *data) |
virtual void | scanForPreExisting () |
virtual void | preLockSaveOptions () |
virtual void | preCkptFdLeaderElection () |
virtual void | drain () |
virtual void | preCkpt () |
virtual void | postRestart () |
virtual void | registerNSData (bool isRestart) |
virtual void | sendQueries (bool isRestart) |
virtual void | refill (bool isRestart) |
virtual void | resume (bool isRestart) |
void | registerIncomingCons () |
void | determineOutgoingCons () |
void | sendReceiveMissingFds () |
virtual int | protectedFd ()=0 |
Protected Member Functions | |
virtual Connection * | createDummyConnection (int type)=0 |
iterator | begin () |
iterator | end () |
Definition at line 35 of file connectionlist.h.
typedef map<ConnectionIdentifier, Connection*>::iterator dmtcp::ConnectionList::iterator |
Definition at line 43 of file connectionlist.h.
|
inline |
Definition at line 45 of file connectionlist.h.
|
virtual |
Definition at line 85 of file connectionlist.cpp.
void ConnectionList::add | ( | int | fd, |
Connection * | c | ||
) |
Definition at line 303 of file connectionlist.cpp.
|
inlineprotected |
Definition at line 82 of file connectionlist.h.
|
protectedpure virtual |
Implemented in dmtcp::FileConnList, dmtcp::SocketConnList, and dmtcp::EventConnList.
void ConnectionList::deleteStaleConnections | ( | ) |
Definition at line 189 of file connectionlist.cpp.
void dmtcp::ConnectionList::determineOutgoingCons | ( | ) |
|
virtual |
Reimplemented in dmtcp::FileConnList, and dmtcp::SocketConnList.
Definition at line 393 of file connectionlist.cpp.
|
inlineprotected |
Definition at line 83 of file connectionlist.h.
void dmtcp::ConnectionList::erase | ( | iterator | i) |
void dmtcp::ConnectionList::erase | ( | ConnectionIdentifier & | key) |
void ConnectionList::eventHook | ( | DmtcpEvent_t | event, |
DmtcpEventData_t * | data | ||
) |
Definition at line 89 of file connectionlist.cpp.
Connection * ConnectionList::getConnection | ( | const ConnectionIdentifier & | id) |
Definition at line 287 of file connectionlist.cpp.
Connection * ConnectionList::getConnection | ( | int | fd) |
Definition at line 295 of file connectionlist.cpp.
void ConnectionList::list | ( | ) |
Definition at line 268 of file connectionlist.cpp.
|
virtual |
Reimplemented in dmtcp::FileConnList, and dmtcp::SocketConnList.
Definition at line 440 of file connectionlist.cpp.
|
virtual |
Reimplemented in dmtcp::SocketConnList.
Definition at line 404 of file connectionlist.cpp.
|
virtual |
Definition at line 383 of file connectionlist.cpp.
|
virtual |
Reimplemented in dmtcp::FileConnList.
Definition at line 370 of file connectionlist.cpp.
void ConnectionList::processClose | ( | int | fd) |
Definition at line 336 of file connectionlist.cpp.
void ConnectionList::processDup | ( | int | oldfd, |
int | newfd | ||
) |
Definition at line 345 of file connectionlist.cpp.
|
pure virtual |
Implemented in dmtcp::FileConnList, dmtcp::SocketConnList, and dmtcp::EventConnList.
|
virtual |
Reimplemented in dmtcp::FileConnList, and dmtcp::SocketConnList.
Definition at line 414 of file connectionlist.cpp.
void ConnectionList::registerIncomingCons | ( | ) |
Definition at line 475 of file connectionlist.cpp.
|
inlinevirtual |
Reimplemented in dmtcp::SocketConnList.
Definition at line 70 of file connectionlist.h.
void ConnectionList::resetOnFork | ( | ) |
Definition at line 182 of file connectionlist.cpp.
|
virtual |
Reimplemented in dmtcp::FileConnList.
Definition at line 430 of file connectionlist.cpp.
|
inlinevirtual |
Reimplemented in dmtcp::FileConnList, and dmtcp::SocketConnList.
Definition at line 64 of file connectionlist.h.
|
inlinevirtual |
Reimplemented in dmtcp::SocketConnList.
Definition at line 71 of file connectionlist.h.
void ConnectionList::sendReceiveMissingFds | ( | ) |
Definition at line 518 of file connectionlist.cpp.
void ConnectionList::serialize | ( | jalib::JBinarySerializer & | o) |
Definition at line 223 of file connectionlist.cpp.