class EncodeServer : public Server, public ExceptionStore
{
public:
- EncodeServer (boost::shared_ptr<Log> log, bool verbose, int num_threads);
+ EncodeServer (bool verbose, int num_threads);
~EncodeServer ();
void run ();
std::list<boost::shared_ptr<Socket> > _queue;
boost::condition _full_condition;
boost::condition _empty_condition;
- boost::shared_ptr<Log> _log;
bool _verbose;
int _num_threads;
, socket (0)
{}
+ boost::mutex mutex;
boost::thread* thread;
boost::asio::ip::udp::socket* socket;
char buffer[64];