/* * RemoveAllJobsOperation.hpp * * Created on: Sep 05, 2012 * Author: heber */ #ifndef FRAGMENTCONTROLLER_REMOVEALLJOBSOPERATION_HPP_ #define FRAGMENTCONTROLLER_REMOVEALLJOBSOPERATION_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "JobMarket/Connection.hpp" #include "JobMarket/Operations/SyncOperation.hpp" /** Synchronous operation that gives removeall command. * */ class RemoveAllJobsOperation : public SyncOperation { public: /// Constructor for class RemoveAllJobsOperation. RemoveAllJobsOperation(Connection &_connection) : SyncOperation(std::string("removealljobs"),_connection) {} /// Destructor for class RemoveAllJobsOperation ~RemoveAllJobsOperation() {} public: // function that implements read&writes in between connect/disconnect virtual void internal(); }; #endif /* FRAGMENTCONTROLLER_REMOVEALLJOBSOPERATION_HPP_ */