29 lines
631 B
C++
29 lines
631 B
C++
#ifndef LPCK_RESPONSE_EXTENSION_H_
|
|
#define LPCK_RESPONSE_EXTENSION_H_
|
|
|
|
#include <set>
|
|
#include <string>
|
|
#include <mdLogger.h>
|
|
#include <se/ResponseExtension.hpp>
|
|
|
|
class XMLDocument;
|
|
|
|
class LPChkRespExtension : public ResponseExtension
|
|
{
|
|
public:
|
|
LPChkRespExtension();
|
|
|
|
virtual void fromXML(XMLDocument *xmlDoc);
|
|
bool affirmativeResponse();
|
|
|
|
private:
|
|
const XMLDocument *xmlDoc;
|
|
|
|
bool typeIsClaims; // False implies type is availablity
|
|
bool response; // true/false attribute in reply
|
|
|
|
static const std::string CKCLAIM_EXPR();
|
|
};
|
|
|
|
|
|
#endif /* LPCK_RESPONSE_EXTENSION_H_ */
|