diff options
Diffstat (limited to 'src/mongo/transport/transport_layer.h')
-rw-r--r-- | src/mongo/transport/transport_layer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/transport/transport_layer.h b/src/mongo/transport/transport_layer.h index dde6248eaf5..44995fc375b 100644 --- a/src/mongo/transport/transport_layer.h +++ b/src/mongo/transport/transport_layer.h @@ -57,6 +57,10 @@ class TransportLayer { MONGO_DISALLOW_COPYING(TransportLayer); public: + static const Status SessionUnknownStatus; + static const Status ShutdownStatus; + static const Status TicketSessionUnknownStatus; + /** * Stats for sessions open in the Transport Layer. */ @@ -171,7 +175,7 @@ public: * * This method is idempotent and synchronous. */ - virtual void end(const Session& session) = 0; + virtual void end(Session& session) = 0; /** * End all active sessions in the TransportLayer. Tickets that have already been started via |