Mania++
 All Classes Functions Variables Pages
GbxMessage.h
1 #ifndef GBXMESSAGE_H_
2 #define GBXMESSAGE_H_
3 
4 #include <string>
5 #include <vector>
6 
7 #include "../Parameters/GbxParameters.h"
8 #include "../Parameters/GbxParameter.h"
9 
10 //* GbxMessage
15 {
16 public:
23  GbxMessage(std::string methodName, GbxParameters parameters = GbxParameters());
24 
28  std::string GetMethod();
29 
33  std::string GetXml();
34 
35 private:
36  std::string method;
37  std::string xml;
38 };
39 
40 #endif // GBXMESSAGE_H_
List of parameters.
Definition: GbxParameters.h:66
XML-fies the message for communication with the server.
Definition: GbxMessage.h:14
std::string method
Server method name.
Definition: GbxMessage.h:36
GbxMessage(std::string methodName, GbxParameters parameters=GbxParameters())
Builds XML message.
Definition: GbxMessage.cpp:3
std::string xml
Created XML message.
Definition: GbxMessage.h:37
std::string GetMethod()
Returns the method name.
Definition: GbxMessage.cpp:21
std::string GetXml()
Returns the created XML message.
Definition: GbxMessage.cpp:26