/* * ShutdownOperation.hpp * * Created on: Dec 11, 2011 * Author: heber */ #ifndef FRAGMENTCONTROLLER_SHUTDOWNOPERATION_HPP_ #define FRAGMENTCONTROLLER_SHUTDOWNOPERATION_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "Connection.hpp" #include "Controller/Commands/Operation.hpp" class ShutdownOperation : public Operation { public: /// Constructor for class ShutdownOperation. ShutdownOperation(Connection &_connection) : Operation(std::string("shutdown"),_connection) {} /// Destructor for class ShutdownOperation ~ShutdownOperation() {} public: // virtual function pointer to the connection handler virtual void handle_connect(const boost::system::error_code& e, boost::asio::ip::tcp::resolver::iterator endpoint_iterator); }; #endif /* FRAGMENTCONTROLLER_SHUTDOWNOPERATION_HPP_ */