MongoDB  2.7.0
Public Member Functions | Public Attributes | List of all members
mongo::Message Class Reference

Public Member Functions

 Message (void *data, bool freeIt)
 
 Message (Message &r)
 
MsgDataheader () const
 
int operation () const
 
MsgDatasingleData () const
 
bool empty () const
 
int size () const
 
int dataSize () const
 
void concat ()
 
Messageoperator= (Message &r)
 
void reset ()
 
void appendData (char *d, int size)
 
void setData (MsgData *d, bool freeIt)
 
void setData (int operation, const char *msgtxt)
 
void setData (int operation, const char *msgdata, size_t len)
 
bool doIFreeIt ()
 
void send (MessagingPort &p, const char *context)
 
string toString () const
 

Public Attributes

SockAddr _from
 

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