mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
minor
This commit is contained in:
parent
3d207f88b8
commit
8228c6f329
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user