/* * AsyncOperationStub.hpp * * Created on: Apr 24, 2012 * Author: heber */ #ifndef ASYNCOPERATIONSTUB_HPP_ #define ASYNCOPERATIONSTUB_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include "Operations/AsyncOperation.hpp" class Connection; class AsyncOperationStub : public AsyncOperation { public: AsyncOperationStub(const std::string &_name, Connection &_conn) : AsyncOperation(_name, _conn) {} protected: void handle_connect(const boost::system::error_code& e, boost::asio::ip::tcp::resolver::iterator endpoint_iterator) { AsyncOperation::handle_FinishOperation(e); } }; #endif /* ASYNCOPERATIONSTUB_HPP_ */