void search_thread ();
void listen_thread ();
- boost::optional<std::list<EncodeServerDescription>::iterator> server_found (std::string);
void start_accept ();
- void handle_accept (boost::system::error_code ec, std::shared_ptr<Socket> socket);
+ void handle_accept (boost::system::error_code ec);
void config_changed (Config::Property what);
boost::condition _search_condition;
boost::mutex _search_condition_mutex;
+ std::shared_ptr<Socket> _accept_socket;
+
static EncodeServerFinder* _instance;
};