summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_rs.h
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2015-06-10 00:05:49 -0400
committerAdam Midvidy <amidvidy@gmail.com>2015-06-16 16:25:38 -0400
commitb6b9e3ecd726bf9c36155e2dccd67f825a95800c (patch)
tree185dc4178ddbe3352cde9a439faedd0d2e3e80fd /src/mongo/client/dbclient_rs.h
parent5014f223f0692ca552858d04a5efe1958c3367fb (diff)
downloadmongo-b6b9e3ecd726bf9c36155e2dccd67f825a95800c.tar.gz
SERVER-18236 make runCommandHook and postRunCommand hook operate on the metadata object
Diffstat (limited to 'src/mongo/client/dbclient_rs.h')
-rw-r--r--src/mongo/client/dbclient_rs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/client/dbclient_rs.h b/src/mongo/client/dbclient_rs.h
index e88320a99fa..fb29559c80a 100644
--- a/src/mongo/client/dbclient_rs.h
+++ b/src/mongo/client/dbclient_rs.h
@@ -161,6 +161,9 @@ namespace mongo {
const BSONObj& metadata,
const BSONObj& commandArgs) final;
+ void setRequestMetadataWriter(rpc::RequestMetadataWriter writer) final;
+
+ void setReplyMetadataReader(rpc::ReplyMetadataReader reader) final;
// ---- low level ------
virtual bool call( Message &toSend, Message &response, bool assertOk=true , std::string * actualServer = 0 );
@@ -180,9 +183,6 @@ namespace mongo {
const BSONObj& queryObj,
int queryOptions );
- virtual void setRunCommandHook(DBClientWithCommands::RunCommandHookFunc func);
- virtual void setPostRunCommandHook(DBClientWithCommands::PostRunCommandHookFunc func);
-
/**
* Performs a "soft reset" by clearing all states relating to secondary nodes and
* returning secondary connections to the pool.