DMTCP
|
#include <fileconnection.h>
Public Types | |
enum | FileType { FILE_INVALID = FILE, FILE_REGULAR, FILE_SHM, FILE_PROCFS, FILE_DELETED, FILE_BATCH_QUEUE } |
![]() | |
enum | ConnectionType { INVALID = 0x00000, TCP = 0x10000, RAW = 0x11000, PTY = 0x20000, FILE = 0x21000, STDIO = 0x22000, FIFO = 0x24000, EPOLL = 0x30000, EVENTFD = 0x31000, SIGNALFD = 0x32000, INOTIFY = 0x34000, POSIXMQ = 0x40000, TYPEMASK } |
Public Member Functions | |
FileConnection () | |
FileConnection (const string &path, int flags, mode_t mode, int type=FILE_REGULAR) | |
virtual void | doLocking () |
virtual void | drain () |
virtual void | preCkpt () |
virtual void | refill (bool isRestart) |
virtual void | postRestart () |
virtual void | resume (bool isRestart) |
virtual void | serializeSubClass (jalib::JBinarySerializer &o) |
virtual string | str () |
string | filePath () |
bool | checkpointed () |
void | doNotRestoreCkptCopy () |
dev_t | devnum () const |
ino_t | inode () const |
bool | checkDup (int fd) |
![]() | |
Connection () | |
virtual | ~Connection () |
void | addFd (int fd) |
void | removeFd (int fd) |
uint32_t | numFds () const |
const vector< int32_t > & | getFds () const |
uint32_t | conType () const |
uint32_t | subType () const |
bool | hasLock () |
bool | isStdio () |
void | checkLocking () |
const ConnectionIdentifier & | id () const |
virtual void | saveOptions () |
virtual bool | isPreExistingCTTY () const |
virtual void | restoreOptions () |
void | serialize (jalib::JBinarySerializer &o) |
Additional Inherited Members | |
![]() | |
Connection (uint32_t t) | |
![]() | |
ConnectionIdentifier | _id |
uint32_t | _type |
int64_t | _fcntlFlags |
int64_t | _fcntlOwner |
int64_t | _fcntlSignal |
bool | _hasLock |
vector< int32_t > | _fds |
Definition at line 112 of file fileconnection.h.
Enumerator | |
---|---|
FILE_INVALID | |
FILE_REGULAR | |
FILE_SHM | |
FILE_PROCFS | |
FILE_DELETED | |
FILE_BATCH_QUEUE |
Definition at line 115 of file fileconnection.h.
|
inline |
Definition at line 125 of file fileconnection.h.
|
inline |
Definition at line 126 of file fileconnection.h.
bool FileConnection::checkDup | ( | int | fd) |
Definition at line 836 of file fileconnection.cpp.
|
inline |
Definition at line 150 of file fileconnection.h.
|
inline |
Definition at line 153 of file fileconnection.h.
|
virtual |
Reimplemented from dmtcp::Connection.
Definition at line 503 of file fileconnection.cpp.
|
inline |
Definition at line 151 of file fileconnection.h.
|
virtual |
Implements dmtcp::Connection.
Definition at line 531 of file fileconnection.cpp.
|
inline |
Definition at line 149 of file fileconnection.h.
|
inline |
Definition at line 154 of file fileconnection.h.
|
virtual |
Implements dmtcp::Connection.
Definition at line 785 of file fileconnection.cpp.
|
virtual |
Reimplemented from dmtcp::Connection.
Definition at line 611 of file fileconnection.cpp.
|
virtual |
Implements dmtcp::Connection.
Definition at line 645 of file fileconnection.cpp.
|
virtual |
Reimplemented from dmtcp::Connection.
Definition at line 719 of file fileconnection.cpp.
|
virtual |
Implements dmtcp::Connection.
Definition at line 931 of file fileconnection.cpp.
|
inlinevirtual |
Implements dmtcp::Connection.
Definition at line 148 of file fileconnection.h.