client: reorg context Pvt

This commit is contained in:
Michael Davidsaver
2021-06-27 10:17:13 -07:00
parent bcc46f0389
commit c4d2cd4a10
8 changed files with 92 additions and 98 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ namespace client {
DEFINE_LOGGER(io, "pvxs.client.io");
Connection::Connection(const std::shared_ptr<Context::Pvt>& context, const SockAddr& peerAddr)
Connection::Connection(const std::shared_ptr<ContextImpl>& context, const SockAddr& peerAddr)
:ConnBase (true,
bufferevent_socket_new(context->tcp_loop.base, -1, BEV_OPT_CLOSE_ON_FREE|BEV_OPT_DEFER_CALLBACKS),
peerAddr)