00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef GRID_CLIENT_MESSAGE_TASK_REQUEST_COMMAND_HPP_INCLUDED
00011 #define GRID_CLIENT_MESSAGE_TASK_REQUEST_COMMAND_HPP_INCLUDED
00012
00013 #include <string>
00014
00015 #include "gridgain/gridclienttypedef.hpp"
00016 #include "gridgain/impl/cmd/gridclientmessagecommand.hpp"
00017
00021 class GridTaskRequestCommand : public GridClientMessageCommand {
00022 public:
00028 GridClientVariant getArg() const {
00029 return arg;
00030 }
00031
00037 std::string getTaskName() const {
00038 return taskName;
00039 }
00040
00046 void setArg(const GridClientVariant& pArg) {
00047 arg = pArg;
00048 }
00049
00055 void setTaskName(const std::string& pTaskName) {
00056 taskName = pTaskName;
00057 }
00058
00059 private:
00061 std::string taskName;
00062
00064 GridClientVariant arg;
00065 };
00066
00067 #endif