diff options
Diffstat (limited to 'src/mongo/client/remote_command_runner_impl.h')
-rw-r--r-- | src/mongo/client/remote_command_runner_impl.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mongo/client/remote_command_runner_impl.h b/src/mongo/client/remote_command_runner_impl.h index 13deea1c728..2f763e5ffc7 100644 --- a/src/mongo/client/remote_command_runner_impl.h +++ b/src/mongo/client/remote_command_runner_impl.h @@ -33,24 +33,24 @@ namespace mongo { - class RemoteCommandRunnerImpl : public RemoteCommandRunner { - public: - RemoteCommandRunnerImpl(int messagingPortTags); - virtual ~RemoteCommandRunnerImpl(); +class RemoteCommandRunnerImpl : public RemoteCommandRunner { +public: + RemoteCommandRunnerImpl(int messagingPortTags); + virtual ~RemoteCommandRunnerImpl(); - /** - * Closes all underlying connections. Must be called before the destructor runs. - */ - void shutdown(); + /** + * Closes all underlying connections. Must be called before the destructor runs. + */ + void shutdown(); - virtual StatusWith<RemoteCommandResponse> runCommand(const RemoteCommandRequest& request); + virtual StatusWith<RemoteCommandResponse> runCommand(const RemoteCommandRequest& request); - private: - // The connection pool on which to send requests - ConnectionPool _connPool; +private: + // The connection pool on which to send requests + ConnectionPool _connPool; - // Whether shutdown has been called - bool _shutDown; - }; + // Whether shutdown has been called + bool _shutDown; +}; -} // namespace mongo +} // namespace mongo |