diff options
author | Adam Midvidy <amidvidy@gmail.com> | 2015-08-14 11:26:02 -0400 |
---|---|---|
committer | Adam Midvidy <amidvidy@gmail.com> | 2015-08-18 11:45:13 -0400 |
commit | e6ddd3da54a42088e5fa524df34f06def842eda9 (patch) | |
tree | 62c9173b288c07188e6952635ab013d1d168f9e3 /src/mongo/executor/remote_command_response.h | |
parent | 4c61da5028cafcea65dd35d7f0e02941495cda98 (diff) | |
download | mongo-e6ddd3da54a42088e5fa524df34f06def842eda9.tar.gz |
SERVER-19420 implement connection hook API in NetworkInterfaceASIO
Diffstat (limited to 'src/mongo/executor/remote_command_response.h')
-rw-r--r-- | src/mongo/executor/remote_command_response.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/executor/remote_command_response.h b/src/mongo/executor/remote_command_response.h index 0f3e1c9ce0e..65d3f72c66b 100644 --- a/src/mongo/executor/remote_command_response.h +++ b/src/mongo/executor/remote_command_response.h @@ -34,6 +34,11 @@ #include "mongo/util/time_support.h" namespace mongo { + +namespace rpc { +class ReplyInterface; +} // namespace rpc + namespace executor { @@ -46,6 +51,8 @@ struct RemoteCommandResponse { RemoteCommandResponse(BSONObj dataObj, BSONObj metadataObj, Milliseconds millis) : data(std::move(dataObj)), metadata(std::move(metadataObj)), elapsedMillis(millis) {} + RemoteCommandResponse(const rpc::ReplyInterface& rpcReply, Milliseconds millis); + std::string toString() const; BSONObj data; |