summaryrefslogtreecommitdiff
path: root/db/replset.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-09-05 18:04:29 -0400
committerDwight <dmerriman@gmail.com>2008-09-05 18:04:29 -0400
commit8dd8937576635dbe8da2ea4cce90854ab79aeb19 (patch)
tree732718a0f720381909d36adb9d87d6ba140224a8 /db/replset.h
parent5727d1b85310b878ad49130290e240512389328a (diff)
downloadmongo-8dd8937576635dbe8da2ea4cce90854ab79aeb19.tar.gz
better class name
Diffstat (limited to 'db/replset.h')
-rw-r--r--db/replset.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/replset.h b/db/replset.h
index d731f68ef65..58b32046b55 100644
--- a/db/replset.h
+++ b/db/replset.h
@@ -16,7 +16,7 @@
#pragma once
-/* ReplSet is a pair of db servers replicating to one another and cooperating.
+/* ReplPair is a pair of db servers replicating to one another and cooperating.
Only one member of the pair is active at a time; so this is a smart master/slave
configuration basically.
@@ -27,18 +27,18 @@
a set of 3...
*/
-class ReplSet {
+class ReplPair {
public:
int remotePort;
string remoteHost;
string remote; // host:port if port specified.
- ReplSet(const char *remoteEnd);
+ ReplPair(const char *remoteEnd);
};
-ReplSet::ReplSet(const char *remoteEnd) {
+ReplPair::ReplPair(const char *remoteEnd) {
remote = remoteEnd;
remotePort = DBPort;
remoteHost = remoteEnd;