#include <request.h>
Public Member Functions | |
DbMessage & | d () |
bool | expectResponse () const |
ChunkManagerPtr | getChunkManager () const |
ClientInfo * | getClientInfo () const |
DBConfigPtr | getConfig () const |
const char * | getns () const |
void | gotInsert () |
MSGID | id () const |
void | init () |
bool | isCommand () const |
bool | isShardingEnabled () const |
Message & | m () |
int | op () const |
AbstractMessagingPort * | p () 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 |
Definition at line 33 of file request.h.
mongo::Request::Request | ( | Message & | m, | |
AbstractMessagingPort * | p | |||
) |
ChunkManagerPtr mongo::Request::getChunkManager | ( | ) | const [inline] |
ClientInfo* mongo::Request::getClientInfo | ( | ) | const [inline] |
DBConfigPtr mongo::Request::getConfig | ( | ) | const [inline] |
void mongo::Request::gotInsert | ( | ) |
void mongo::Request::init | ( | ) |
bool mongo::Request::isCommand | ( | ) | const |
AbstractMessagingPort* mongo::Request::p | ( | ) | const [inline] |
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 |
) |
ChunkManagerPtr mongo::Request::_chunkManager [private] |
ClientInfo* mongo::Request::_clientInfo [private] |
DBConfigPtr mongo::Request::_config [private] |
OpCounters* mongo::Request::_counter [private] |
DbMessage mongo::Request::_d [private] |
bool mongo::Request::_didInit [private] |
MSGID mongo::Request::_id [private] |
Message& mongo::Request::_m [private] |
AbstractMessagingPort* mongo::Request::_p [private] |