summaryrefslogtreecommitdiff
path: root/s/strategy.h
diff options
context:
space:
mode:
Diffstat (limited to 's/strategy.h')
-rw-r--r--s/strategy.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/s/strategy.h b/s/strategy.h
index 54c9627f4f4..de37cfa55b7 100644
--- a/s/strategy.h
+++ b/s/strategy.h
@@ -19,6 +19,17 @@ namespace mongo {
void insert( string server , const char * ns , const BSONObj& obj );
};
+
+ class ShardedCursor {
+ public:
+ ShardedCursor(){}
+ virtual ~ShardedCursor(){}
+
+ virtual void sendNextBatch( Request& r ) = 0;
+
+ private:
+ long long _id;
+ };
extern Strategy * SINGLE;
extern Strategy * SHARDED;