MongoDB  2.7.0
Public Member Functions | Public Attributes | List of all members
mongo::ReplicaSetMonitor::IsMasterReply Struct Reference

Public Member Functions

 IsMasterReply (const HostAndPort &host, int64_t latencyMicros, const BSONObj &reply)
 
void parse (const BSONObj &obj)
 Never throws. More...
 

Public Attributes

bool ok
 
BSONObj raw
 
std::string setName
 
bool isMaster
 
bool secondary
 
bool hidden
 
HostAndPort primary
 
std::set< HostAndPortnormalHosts
 
BSONObj tags
 
HostAndPort host
 
int64_t latencyMicros
 

Member Function Documentation

void mongo::IsMasterReply::parse ( const BSONObj obj)

Never throws.

If parsing fails for any reason, sets ok to false.


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