summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/sharding_connection_hook.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/client/sharding_connection_hook.h')
-rw-r--r--src/mongo/s/client/sharding_connection_hook.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mongo/s/client/sharding_connection_hook.h b/src/mongo/s/client/sharding_connection_hook.h
index 661bb42f34c..a131f526472 100644
--- a/src/mongo/s/client/sharding_connection_hook.h
+++ b/src/mongo/s/client/sharding_connection_hook.h
@@ -32,22 +32,22 @@
namespace mongo {
- class DBClientBase;
+class DBClientBase;
- /**
- * Intercepts creation of sharded connections and transparently performs the internal
- * authentication on them.
- */
- class ShardingConnectionHook : public DBConnectionHook {
- public:
- ShardingConnectionHook(bool shardedConnections);
+/**
+ * Intercepts creation of sharded connections and transparently performs the internal
+ * authentication on them.
+ */
+class ShardingConnectionHook : public DBConnectionHook {
+public:
+ ShardingConnectionHook(bool shardedConnections);
- virtual void onCreate(DBClientBase* conn);
- virtual void onDestroy(DBClientBase* conn);
- virtual void onRelease(DBClientBase* conn);
+ virtual void onCreate(DBClientBase* conn);
+ virtual void onDestroy(DBClientBase* conn);
+ virtual void onRelease(DBClientBase* conn);
- private:
- bool _shardedConnections;
- };
+private:
+ bool _shardedConnections;
+};
-} // namespace mongo
+} // namespace mongo