DMTCP
|
#include <socketconnection.h>
Public Member Functions | |
RawSocketConnection () | |
RawSocketConnection (int domain, int type, int protocol) | |
virtual void | drain () |
virtual void | refill (bool isRestart) |
virtual void | postRestart () |
virtual void | serializeSubClass (jalib::JBinarySerializer &o) |
virtual string | str () |
![]() | |
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 void | doLocking () |
virtual void | preCkpt () |
virtual void | resume (bool isRestart) |
virtual bool | isPreExistingCTTY () const |
virtual void | restoreOptions () |
void | serialize (jalib::JBinarySerializer &o) |
![]() | |
uint32_t | peerType () const |
SocketConnection () | |
SocketConnection (int domain, int type, int protocol) | |
void | addSetsockopt (int level, int option, const char *value, int len) |
void | restoreSocketOptions (vector< int32_t > &fds) |
void | serialize (jalib::JBinarySerializer &o) |
int | sockDomain () const |
Additional Inherited Members | |
![]() | |
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 } |
![]() | |
enum | PeerType { PEER_UNKNOWN, PEER_INTERNAL, PEER_EXTERNAL } |
![]() | |
Connection (uint32_t t) | |
![]() | |
ConnectionIdentifier | _id |
uint32_t | _type |
int64_t | _fcntlFlags |
int64_t | _fcntlOwner |
int64_t | _fcntlSignal |
bool | _hasLock |
vector< int32_t > | _fds |
![]() | |
int64_t | _sockDomain |
int64_t | _sockType |
int64_t | _sockProtocol |
uint32_t | _peerType |
map< int64_t, map< int64_t, jalib::JBuffer > > | _sockOptions |
Definition at line 134 of file socketconnection.h.
|
inline |
Definition at line 137 of file socketconnection.h.
RawSocketConnection::RawSocketConnection | ( | int | domain, |
int | type, | ||
int | protocol | ||
) |
Definition at line 639 of file socketconnection.cpp.
|
virtual |
Implements dmtcp::Connection.
Definition at line 649 of file socketconnection.cpp.
|
virtual |
Implements dmtcp::Connection.
Definition at line 673 of file socketconnection.cpp.
|
virtual |
Implements dmtcp::Connection.
Definition at line 663 of file socketconnection.cpp.
|
virtual |
Implements dmtcp::Connection.
Definition at line 685 of file socketconnection.cpp.
|
inlinevirtual |
Implements dmtcp::Connection.
Definition at line 147 of file socketconnection.h.