summaryrefslogtreecommitdiff
path: root/src/mongo/rpc/reply_builder_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/rpc/reply_builder_interface.h')
-rw-r--r--src/mongo/rpc/reply_builder_interface.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mongo/rpc/reply_builder_interface.h b/src/mongo/rpc/reply_builder_interface.h
index 196556af3ae..b2631bfaf0e 100644
--- a/src/mongo/rpc/reply_builder_interface.h
+++ b/src/mongo/rpc/reply_builder_interface.h
@@ -41,7 +41,6 @@ class BSONObjBuilder;
class Message;
namespace rpc {
-class DocumentRange;
/**
* Constructs an RPC Reply.
@@ -89,20 +88,6 @@ public:
const BSONObj& extraErrorInfo);
/**
- * Add a range of output documents to the reply. This method can be called multiple times
- * before calling done(). A non OK status indicates that the message does not have
- * enough space to store ouput documents.
- */
- virtual Status addOutputDocs(DocumentRange outputDocs) = 0;
-
- /**
- * Add a single output document to the reply. This method can be called multiple times
- * before calling done(). A non OK status indicates that the message does not have
- * enough space to store ouput documents.
- */
- virtual Status addOutputDoc(const BSONObj& outputDoc) = 0;
-
- /**
* Gets the protocol used to serialize this reply. This should be used for validity checks
* only - runtime behavior changes should be implemented with polymorphism.
*/