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

#include <fileconnection.h>

Inheritance diagram for dmtcp::PosixMQConnection:
dmtcp::Connection

Public Member Functions

 PosixMQConnection (const char *name, int oflag, mode_t mode, struct mq_attr *attr)
 
virtual void drain ()
 
virtual void refill (bool isRestart)
 
virtual void postRestart ()
 
virtual void serializeSubClass (jalib::JBinarySerializer &o)
 
virtual string str ()
 
void on_mq_close ()
 
void on_mq_notify (const struct sigevent *sevp)
 
- Public Member Functions inherited from dmtcp::Connection
 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 ConnectionIdentifierid () const
 
virtual void saveOptions ()
 
virtual void doLocking ()
 
virtual void preCkpt ()
 
virtual void resume (bool isRestart)
 
virtual bool isPreExistingCTTY () const
 
virtual void restoreOptions ()
 
void serialize (jalib::JBinarySerializer &o)
 

Additional Inherited Members

- Public Types inherited from dmtcp::Connection
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
}
 
- Protected Member Functions inherited from dmtcp::Connection
 Connection (uint32_t t)
 
- Protected Attributes inherited from dmtcp::Connection
ConnectionIdentifier _id
 
uint32_t _type
 
int64_t _fcntlFlags
 
int64_t _fcntlOwner
 
int64_t _fcntlSignal
 
bool _hasLock
 
vector< int32_t > _fds
 

Detailed Description

Definition at line 221 of file fileconnection.h.

Constructor & Destructor Documentation

dmtcp::PosixMQConnection::PosixMQConnection ( const char *  name,
int  oflag,
mode_t  mode,
struct mq_attr *  attr 
)
inline

Definition at line 224 of file fileconnection.h.

Member Function Documentation

void PosixMQConnection::drain ( )
virtual

Implements dmtcp::Connection.

Definition at line 1111 of file fileconnection.cpp.

void PosixMQConnection::on_mq_close ( )

Definition at line 1097 of file fileconnection.cpp.

void PosixMQConnection::on_mq_notify ( const struct sigevent *  sevp)

Definition at line 1101 of file fileconnection.cpp.

void PosixMQConnection::postRestart ( )
virtual

Implements dmtcp::Connection.

Definition at line 1156 of file fileconnection.cpp.

void PosixMQConnection::refill ( bool  isRestart)
virtual

Implements dmtcp::Connection.

Definition at line 1146 of file fileconnection.cpp.

void PosixMQConnection::serializeSubClass ( jalib::JBinarySerializer &  o)
virtual

Implements dmtcp::Connection.

Definition at line 1170 of file fileconnection.cpp.

virtual string dmtcp::PosixMQConnection::str ( )
inlinevirtual

Implements dmtcp::Connection.

Definition at line 244 of file fileconnection.h.


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