7#ifndef HTTP_CONNECTION_POOL_H
8#define HTTP_CONNECTION_POOL_H
Pool of active HTTP connections.
void stopAll()
Stops all connections and removes them from the pool.
void stop(const HttpConnectionPtr &connection)
Removes a connection from the pool and stops it.
void start(const HttpConnectionPtr &connection)
Start new connection.
std::list< HttpConnectionPtr > connections_
Set of connections.
std::mutex mutex_
Mutex to protect the internal state.
void stopAllInternal()
Stops all connections and removes them from the pool.
void shutdown(const HttpConnectionPtr &connection)
Removes a connection from the pool and shutdown it.
boost::shared_ptr< HttpConnection > HttpConnectionPtr
Pointer to the HttpConnection.
Defines the logger used by the top-level component of kea-lfc.