// // Copyright (C) 2012 Telldus Technologies AB. All rights reserved. // // Copyright: See COPYING file that comes with this distribution // // #ifndef TELLDUS_CORE_SERVICE_CONTROLLERMESSAGE_H_ #define TELLDUS_CORE_SERVICE_CONTROLLERMESSAGE_H_ #include class ControllerMessage { public: ControllerMessage(const std::string &rawMessage); virtual ~ControllerMessage(); std::string msgClass() const; int getIntParameter(const std::string &key) const; std::string getParameter(const std::string &key) const; int method() const; std::wstring protocol() const; std::wstring model() const; bool hasParameter(const std::string &key) const; private: class PrivateData; PrivateData *d; }; #endif // TELLDUS_CORE_SERVICE_CONTROLLERMESSAGE_H_