Rework the server to remove rest_xxx classes.

This commit is contained in:
Chunting Gu
2019-06-21 13:53:00 +08:00
parent 43aadee885
commit 4140b4f94c
24 changed files with 311 additions and 318 deletions
+2 -3
View File
@@ -9,11 +9,11 @@ namespace webcc {
class ConnectionPool {
public:
ConnectionPool() = default;
ConnectionPool(const ConnectionPool&) = delete;
ConnectionPool& operator=(const ConnectionPool&) = delete;
ConnectionPool();
// Add a connection to the pool and start it.
void Start(ConnectionPtr c);
@@ -24,7 +24,6 @@ public:
void CloseAll();
private:
/// The managed connections.
std::set<ConnectionPtr> connections_;
};