summaryrefslogtreecommitdiff
path: root/src/mongo/rpc/factory.h
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2015-07-07 15:39:58 -0400
committerAdam Midvidy <amidvidy@gmail.com>2015-07-09 13:17:01 -0400
commit331678a191362dfb79a0243fee7b5f9f619ae338 (patch)
tree4815611744d5728c8c190c2c252caa823753b83d /src/mongo/rpc/factory.h
parent3edf8b672c46e56f4d2e95763a6c0ec6fbbd9018 (diff)
downloadmongo-331678a191362dfb79a0243fee7b5f9f619ae338.tar.gz
SERVER-19156 support OP_COMMAND in NetworkInterfaceASIO
Diffstat (limited to 'src/mongo/rpc/factory.h')
-rw-r--r--src/mongo/rpc/factory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/rpc/factory.h b/src/mongo/rpc/factory.h
index 2776ffacc47..f2d4e2fd3cb 100644
--- a/src/mongo/rpc/factory.h
+++ b/src/mongo/rpc/factory.h
@@ -52,6 +52,8 @@ class RequestInterface;
std::unique_ptr<RequestBuilderInterface> makeRequestBuilder(ProtocolSet clientProtos,
ProtocolSet serverProtos);
+std::unique_ptr<RequestBuilderInterface> makeRequestBuilder(Protocol proto);
+
/**
* Returns the appropriate concrete Reply according to the contents of the message.
* Throws if one cannot be chosen.