summaryrefslogtreecommitdiff
path: root/src/mongo/transport/service_entry_point.h
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2017-06-27 14:04:53 -0400
committerJonathan Reams <jbreams@mongodb.com>2017-07-14 16:19:40 -0400
commit1622c6b7a7971ea7fbdd4b3d5b10455e48e5cf69 (patch)
tree4cad8d64f1ace9bc13aea786b460872b1ce466c3 /src/mongo/transport/service_entry_point.h
parente0b06a9da3c0c6071f4e636f3c3ba3e8851c5db0 (diff)
downloadmongo-1622c6b7a7971ea7fbdd4b3d5b10455e48e5cf69.tar.gz
SERVER-29402 Implement ServiceExecutor and fixed-size test executor
Diffstat (limited to 'src/mongo/transport/service_entry_point.h')
-rw-r--r--src/mongo/transport/service_entry_point.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/transport/service_entry_point.h b/src/mongo/transport/service_entry_point.h
index b03bb65825a..834e76ab16b 100644
--- a/src/mongo/transport/service_entry_point.h
+++ b/src/mongo/transport/service_entry_point.h
@@ -53,6 +53,11 @@ public:
virtual void startSession(transport::SessionHandle session) = 0;
/**
+ * End all sessions that do not match the mask in tags.
+ */
+ virtual void endAllSessions(transport::Session::TagMask tags) = 0;
+
+ /**
* Processes a request and fills out a DbResponse.
*/
virtual DbResponse handleRequest(OperationContext* opCtx, const Message& request) = 0;