summaryrefslogtreecommitdiff
path: root/src/mongo/executor/async_secure_stream.h
diff options
context:
space:
mode:
authorJason Carey <jcarey@argv.me>2015-08-05 15:53:30 -0400
committerJason Carey <jcarey@argv.me>2015-09-01 18:41:36 -0400
commit7bb78ed5a98c25009d2f5295d091b3afd3b625f6 (patch)
tree95608bc13ef9395cb83999adc5a4f812a31ecd9f /src/mongo/executor/async_secure_stream.h
parent0a6c20bdc7128d1f13e967a7cc6219b1dfc38b6b (diff)
downloadmongo-7bb78ed5a98c25009d2f5295d091b3afd3b625f6.tar.gz
SERVER-19769 Pool connections in NetworkInterfaceASIO
Diffstat (limited to 'src/mongo/executor/async_secure_stream.h')
-rw-r--r--src/mongo/executor/async_secure_stream.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/executor/async_secure_stream.h b/src/mongo/executor/async_secure_stream.h
index b24b628d4a8..c74e2d72ee2 100644
--- a/src/mongo/executor/async_secure_stream.h
+++ b/src/mongo/executor/async_secure_stream.h
@@ -46,9 +46,12 @@ public:
void connect(const asio::ip::tcp::resolver::iterator endpoints,
ConnectHandler&& connectHandler) override;
- void write(asio::const_buffer buffer, StreamHandler&& streamHandler);
- void read(asio::mutable_buffer buffer, StreamHandler&& streamHandler);
+ void write(asio::const_buffer buffer, StreamHandler&& streamHandler) override;
+
+ void read(asio::mutable_buffer buffer, StreamHandler&& streamHandler) override;
+
+ void cancel() override;
private:
void _handleConnect(asio::ip::tcp::resolver::iterator iter);