mongo::Request Class Reference

#include <request.h>

List of all members.

Public Member Functions

DbMessaged ()
bool expectResponse () const
ChunkManagerPtr getChunkManager () const
ClientInfogetClientInfo () const
DBConfigPtr getConfig () const
const char * getns () const
void gotInsert ()
MSGID id () const
void init ()
bool isCommand () const
bool isShardingEnabled () const
Messagem ()
int op () const
AbstractMessagingPortp () const
Shard primaryShard () const
void process (int attempt=0)
void reply (Message &response, const string &fromServer)
 Request (Message &m, AbstractMessagingPort *p)
void reset (bool reload=false)

Private Attributes

ChunkManagerPtr _chunkManager
ClientInfo_clientInfo
DBConfigPtr _config
OpCounters_counter
DbMessage _d
bool _didInit
MSGID _id
Message_m
AbstractMessagingPort_p

Detailed Description

Definition at line 33 of file request.h.


Constructor & Destructor Documentation

mongo::Request::Request ( Message m,
AbstractMessagingPort p 
)

Member Function Documentation

DbMessage& mongo::Request::d (  )  [inline]

Definition at line 83 of file request.h.

bool mongo::Request::expectResponse (  )  const [inline]

Definition at line 46 of file request.h.

ChunkManagerPtr mongo::Request::getChunkManager (  )  const [inline]

Definition at line 64 of file request.h.

ClientInfo* mongo::Request::getClientInfo (  )  const [inline]

Definition at line 69 of file request.h.

DBConfigPtr mongo::Request::getConfig (  )  const [inline]

Definition at line 55 of file request.h.

const char* mongo::Request::getns (  )  const [inline]

Definition at line 40 of file request.h.

void mongo::Request::gotInsert (  ) 
MSGID mongo::Request::id (  )  const [inline]

Definition at line 51 of file request.h.

void mongo::Request::init (  ) 
bool mongo::Request::isCommand (  )  const
bool mongo::Request::isShardingEnabled (  )  const [inline]

Definition at line 59 of file request.h.

Message& mongo::Request::m (  )  [inline]

Definition at line 82 of file request.h.

int mongo::Request::op (  )  const [inline]

Definition at line 43 of file request.h.

AbstractMessagingPort* mongo::Request::p (  )  const [inline]

Definition at line 84 of file request.h.

Shard mongo::Request::primaryShard (  )  const
void mongo::Request::process ( int  attempt = 0  ) 
void mongo::Request::reply ( Message response,
const string &  fromServer 
)
void mongo::Request::reset ( bool  reload = false  ) 

Member Data Documentation

Definition at line 101 of file request.h.

Definition at line 103 of file request.h.

Definition at line 100 of file request.h.

Definition at line 105 of file request.h.

Definition at line 96 of file request.h.

bool mongo::Request::_didInit [private]

Definition at line 107 of file request.h.

Definition at line 99 of file request.h.

Definition at line 95 of file request.h.

Definition at line 97 of file request.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:57 2013