2014-01-25 17:30:04 +00:00
|
|
|
#ifndef LPCK_RESPONSE_EXTENSION_H_
|
|
|
|
#define LPCK_RESPONSE_EXTENSION_H_
|
|
|
|
|
|
|
|
#include <set>
|
|
|
|
#include <string>
|
2014-01-27 03:33:17 +00:00
|
|
|
#include <mdLogger.h>
|
2014-01-25 17:30:04 +00:00
|
|
|
#include <se/ResponseExtension.hpp>
|
|
|
|
|
|
|
|
class XMLDocument;
|
|
|
|
|
|
|
|
class LPChkRespExtension : public ResponseExtension
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LPChkRespExtension();
|
|
|
|
|
|
|
|
virtual void fromXML(XMLDocument *xmlDoc);
|
2014-01-27 03:33:17 +00:00
|
|
|
bool affirmativeResponse();
|
2014-01-25 17:30:04 +00:00
|
|
|
|
|
|
|
private:
|
2014-01-27 03:33:17 +00:00
|
|
|
const XMLDocument *xmlDoc;
|
2014-01-25 17:30:04 +00:00
|
|
|
|
2014-01-27 03:33:17 +00:00
|
|
|
bool typeIsClaims; // False implies type is availablity
|
|
|
|
bool response; // true/false attribute in reply
|
2014-01-25 17:30:04 +00:00
|
|
|
|
2014-01-27 03:33:17 +00:00
|
|
|
static const std::string CKCLAIM_EXPR();
|
2014-01-25 17:30:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* LPCK_RESPONSE_EXTENSION_H_ */
|