summaryrefslogtreecommitdiff
path: root/src/mongo/rpc/reply_interface.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-03-31 21:11:55 -0400
committerMathias Stearn <mathias@10gen.com>2017-04-12 08:57:12 -0400
commit3c7f43bc2cf5419b4061bd55351a1894a0e32152 (patch)
tree6bb35fe4cc6444298e127af1eaeb3fa83f02495d /src/mongo/rpc/reply_interface.h
parentc739baf5366cbd987bf61acc29a54f56e209a3b7 (diff)
downloadmongo-3c7f43bc2cf5419b4061bd55351a1894a0e32152.tar.gz
SERVER-28508 Delete unused DocumentRange rpc cruft
Diffstat (limited to 'src/mongo/rpc/reply_interface.h')
-rw-r--r--src/mongo/rpc/reply_interface.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/rpc/reply_interface.h b/src/mongo/rpc/reply_interface.h
index 7786c57cb26..a5e72255d6e 100644
--- a/src/mongo/rpc/reply_interface.h
+++ b/src/mongo/rpc/reply_interface.h
@@ -36,7 +36,6 @@ class BSONObj;
class Message;
namespace rpc {
-class DocumentRange;
/**
* An immutable view of an RPC Reply.
@@ -59,18 +58,6 @@ public:
virtual const BSONObj& getCommandReply() const = 0;
/**
- * A variable number of BSON documents returned by the command. It is valid for the
- * returned range to be empty.
- *
- * Example usage:
- *
- * for (auto&& doc : reply.getOutputDocs()) {
- * ... do stuff with doc
- * }
- */
- virtual DocumentRange getOutputDocs() const = 0;
-
- /**
* Gets the protocol used to deserialize this reply. This should be used for validity
* checks only - runtime behavior changes should be implemented with polymorphism.
*/