summaryrefslogtreecommitdiff
path: root/src/mongo/transport/service_entry_point_mock.h
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2017-04-17 12:09:33 -0400
committerJonathan Reams <jbreams@mongodb.com>2017-04-21 11:22:53 -0400
commitf929d2cfcfe48f051c32bdded11566b885816932 (patch)
tree2d4e17c2dd4cceaa95dfcb41c773962341e7a5ec /src/mongo/transport/service_entry_point_mock.h
parentc2cb98f46c70772d054ab0885720b666ae318cf0 (diff)
downloadmongo-f929d2cfcfe48f051c32bdded11566b885816932.tar.gz
SERVER-28749 Unify ServiceEntryPointMongod and ServiceEntryPointMongos
Diffstat (limited to 'src/mongo/transport/service_entry_point_mock.h')
-rw-r--r--src/mongo/transport/service_entry_point_mock.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/transport/service_entry_point_mock.h b/src/mongo/transport/service_entry_point_mock.h
index eadc9367fa8..94f011d9f3e 100644
--- a/src/mongo/transport/service_entry_point_mock.h
+++ b/src/mongo/transport/service_entry_point_mock.h
@@ -65,13 +65,15 @@ public:
*/
void startSession(transport::SessionHandle session) override;
+ DbResponse handleRequest(OperationContext* opCtx,
+ const Message& request,
+ const HostAndPort& client) override;
+
private:
void run(transport::SessionHandle session);
transport::TransportLayer* _tl;
- Message _outMessage;
-
stdx::mutex _shutdownLock;
bool _inShutdown;