DMTCP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
dmtcp::FileConnList Class Reference

#include <fileconnlist.h>

Inheritance diagram for dmtcp::FileConnList:
dmtcp::ConnectionList

Public Member Functions

virtual void preLockSaveOptions ()
 
virtual void drain ()
 
virtual void refill (bool isRestart)
 
virtual void resume (bool isRestart)
 
virtual void postRestart ()
 
virtual int protectedFd ()
 
virtual void scanForPreExisting ()
 
virtual ConnectioncreateDummyConnection (int type)
 
ConnectionfindDuplication (int fd, const char *path)
 
void processFileConnection (int fd, const char *path, int flags, mode_t mode)
 
void prepareShmList ()
 
void remapShmMaps ()
 
void recreateShmFileAndMap (const ProcMapsArea &area)
 
void restoreShmArea (const ProcMapsArea &area, int fd=-1)
 
- Public Member Functions inherited from dmtcp::ConnectionList
 ConnectionList ()
 
virtual ~ConnectionList ()
 
void resetOnFork ()
 
void deleteStaleConnections ()
 
void add (int fd, Connection *c)
 
void erase (iterator i)
 
void erase (ConnectionIdentifier &key)
 
ConnectiongetConnection (const ConnectionIdentifier &id)
 
ConnectiongetConnection (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 preCkptFdLeaderElection ()
 
virtual void preCkpt ()
 
virtual void registerNSData (bool isRestart)
 
virtual void sendQueries (bool isRestart)
 
void registerIncomingCons ()
 
void determineOutgoingCons ()
 
void sendReceiveMissingFds ()
 

Static Public Member Functions

static FileConnListinstance ()
 

Additional Inherited Members

- Public Types inherited from dmtcp::ConnectionList
typedef map
< ConnectionIdentifier,
Connection * >::iterator 
iterator
 
- Protected Member Functions inherited from dmtcp::ConnectionList
iterator begin ()
 
iterator end ()
 

Detailed Description

Definition at line 43 of file fileconnlist.h.

Member Function Documentation

Connection * FileConnList::createDummyConnection ( int  type)
virtual

Implements dmtcp::ConnectionList.

Definition at line 505 of file fileconnlist.cpp.

void FileConnList::drain ( )
virtual

Reimplemented from dmtcp::ConnectionList.

Definition at line 119 of file fileconnlist.cpp.

Connection * FileConnList::findDuplication ( int  fd,
const char *  path 
)

Definition at line 432 of file fileconnlist.cpp.

FileConnList & FileConnList::instance ( )
static

Definition at line 103 of file fileconnlist.cpp.

void FileConnList::postRestart ( )
virtual

Reimplemented from dmtcp::ConnectionList.

Definition at line 142 of file fileconnlist.cpp.

void FileConnList::preLockSaveOptions ( )
virtual

Reimplemented from dmtcp::ConnectionList.

Definition at line 111 of file fileconnlist.cpp.

void FileConnList::prepareShmList ( )

Definition at line 219 of file fileconnlist.cpp.

void FileConnList::processFileConnection ( int  fd,
const char *  path,
int  flags,
mode_t  mode 
)

Definition at line 450 of file fileconnlist.cpp.

virtual int dmtcp::FileConnList::protectedFd ( )
inlinevirtual

Implements dmtcp::ConnectionList.

Definition at line 53 of file fileconnlist.h.

void FileConnList::recreateShmFileAndMap ( const ProcMapsArea &  area)

Definition at line 300 of file fileconnlist.cpp.

void FileConnList::refill ( bool  isRestart)
virtual

Reimplemented from dmtcp::ConnectionList.

Definition at line 181 of file fileconnlist.cpp.

void FileConnList::remapShmMaps ( )

Definition at line 349 of file fileconnlist.cpp.

void FileConnList::restoreShmArea ( const ProcMapsArea &  area,
int  fd = -1 
)

Definition at line 333 of file fileconnlist.cpp.

void FileConnList::resume ( bool  isRestart)
virtual

Reimplemented from dmtcp::ConnectionList.

Definition at line 203 of file fileconnlist.cpp.

void FileConnList::scanForPreExisting ( )
virtual

Reimplemented from dmtcp::ConnectionList.

Definition at line 368 of file fileconnlist.cpp.


The documentation for this class was generated from the following files: