summaryrefslogtreecommitdiff
path: root/src/lib/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/server.h')
-rw-r--r--src/lib/server.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/server.h b/src/lib/server.h
index fac440a76..32ba8dc4b 100644
--- a/src/lib/server.h
+++ b/src/lib/server.h
@@ -28,6 +28,8 @@
#include <boost/thread/condition.hpp>
#include "log.h"
+class Socket;
+
/** @class ServerDescription
* @brief Class to describe a server to which we can send encoding work.
*/
@@ -80,10 +82,10 @@ public:
private:
void worker_thread ();
- int process (boost::shared_ptr<boost::asio::ip::tcp::socket> socket);
-
+ int process (boost::shared_ptr<Socket> socket);
+
std::vector<boost::thread *> _worker_threads;
- std::list<boost::shared_ptr<boost::asio::ip::tcp::socket> > _queue;
+ std::list<boost::shared_ptr<Socket> > _queue;
boost::mutex _worker_mutex;
boost::condition _worker_condition;
Log* _log;