Rework the server to remove rest_xxx classes.
This commit is contained in:
@@ -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_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user