Searched refs:WsConnection (Results 1 – 1 of 1) sorted by relevance
56 class WsConnection : public std::enable_shared_from_this<WsConnection> { class60 std::weak_ptr<WsConnection> weak_this;63 WsConnection(int port, const std::string& addr, const std::string& path,68 ~WsConnection();129 void RememberConnection(void*, std::weak_ptr<WsConnection>);131 std::shared_ptr<WsConnection> GetConnection(void*);140 std::map<void*, std::weak_ptr<WsConnection>> weak_by_ptr_;364 WsConnectionWrapper(std::shared_ptr<WsConnection> conn) : conn_(conn) {} in WsConnectionWrapper()370 std::shared_ptr<WsConnection> conn_;378 new WsConnectionWrapper(std::make_shared<WsConnection>( in CreateConnection()[all …]