00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef GRIDTOPOLOGY_REQUEST_COMMAND_HPP_INCLUDED
00011 #define GRIDTOPOLOGY_REQUEST_COMMAND_HPP_INCLUDED
00012
00013 #include <string>
00014
00015 #include "gridgain/impl/cmd/gridclientmessagecommand.hpp"
00016
00020 class GridTopologyRequestCommand : public GridClientMessageCommand {
00021 public:
00027 bool getIncludeMetrics() const {
00028 return includeMetrics;
00029 }
00030
00036 void setIncludeMetrics(bool pIncludeMetrics) {
00037 includeMetrics = pIncludeMetrics;
00038 }
00039
00045 bool getIncludeAttributes() const {
00046 return includeAttrs;
00047 }
00048
00054 void setIncludeAttributes(bool pIncludeAttrs) {
00055 includeAttrs = pIncludeAttrs;
00056 }
00057
00063 std::string getNodeId() const {
00064 return nodeId;
00065 }
00066
00072 void setNodeId(const std::string& nodeId) {
00073 this->nodeId = nodeId;
00074 }
00075
00081 std::string getNodeIp() const {
00082 return nodeIp;
00083 }
00084
00090 void setNodeIp(const std::string& nodeIp) {
00091 this->nodeIp = nodeIp;
00092 }
00093
00094 private:
00096 std::string nodeId;
00097
00099 std::string nodeIp;
00100
00102 bool includeMetrics;
00103
00105 bool includeAttrs;
00106 };
00107
00108 #endif