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