0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Dwight 2010-04-13 17:40:49 -04:00
parent 3d207f88b8
commit 8228c6f329

View File

@ -23,10 +23,16 @@ namespace mongo {
class ReplSet;
extern ReplSet *theReplSet;
/* information about the entire repl set, such as the various servers in the set, and their state */
class ReplSet {
string _name;
vector<string> _members;
public:
class Member {
string host;
int port;
};
private:
string _name;
vector<Member> _members;
};
}