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

#include <socketconnection.h>

Inheritance diagram for dmtcp::SocketConnection:
dmtcp::RawSocketConnection dmtcp::TcpConnection

Public Types

enum  PeerType { PEER_UNKNOWN, PEER_INTERNAL, PEER_EXTERNAL }
 

Public Member Functions

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
 

Protected Attributes

int64_t _sockDomain
 
int64_t _sockType
 
int64_t _sockProtocol
 
uint32_t _peerType
 
map< int64_t, map< int64_t,
jalib::JBuffer > > 
_sockOptions
 

Detailed Description

Definition at line 41 of file socketconnection.h.

Member Enumeration Documentation

Enumerator
PEER_UNKNOWN 
PEER_INTERNAL 
PEER_EXTERNAL 

Definition at line 44 of file socketconnection.h.

Constructor & Destructor Documentation

dmtcp::SocketConnection::SocketConnection ( )
inline

Definition at line 53 of file socketconnection.h.

SocketConnection::SocketConnection ( int  domain,
int  type,
int  protocol 
)

Definition at line 70 of file socketconnection.cpp.

Member Function Documentation

void SocketConnection::addSetsockopt ( int  level,
int  option,
const char *  value,
int  len 
)

Definition at line 77 of file socketconnection.cpp.

uint32_t dmtcp::SocketConnection::peerType ( ) const
inline

Definition at line 51 of file socketconnection.h.

void SocketConnection::restoreSocketOptions ( vector< int32_t > &  fds)

Definition at line 83 of file socketconnection.cpp.

void SocketConnection::serialize ( jalib::JBinarySerializer &  o)

Definition at line 104 of file socketconnection.cpp.

int dmtcp::SocketConnection::sockDomain ( ) const
inline

Definition at line 58 of file socketconnection.h.

Member Data Documentation

uint32_t dmtcp::SocketConnection::_peerType
protected

Definition at line 64 of file socketconnection.h.

int64_t dmtcp::SocketConnection::_sockDomain
protected

Definition at line 61 of file socketconnection.h.

map< int64_t, map<int64_t, jalib::JBuffer> > dmtcp::SocketConnection::_sockOptions
protected

Definition at line 65 of file socketconnection.h.

int64_t dmtcp::SocketConnection::_sockProtocol
protected

Definition at line 63 of file socketconnection.h.

int64_t dmtcp::SocketConnection::_sockType
protected

Definition at line 62 of file socketconnection.h.


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