30 lines
838 B
C++
30 lines
838 B
C++
#include <sstream>
|
|
|
|
#include "LPLaunch.hpp"
|
|
#include "LPRespExtender.hpp"
|
|
|
|
using namespace std;
|
|
|
|
void LPRespExtender::fromXML(XMLDocument *xmlDoc)
|
|
{
|
|
// infData.reset(new LPExtension);
|
|
|
|
// if (xmlDoc->getNodeCount("count(" + MAXSIGLIFE_EXPR() + ")") > 0)
|
|
// {
|
|
// int maxSigLifeInt = getInt(xmlDoc->getNodeValue(MAXSIGLIFE_EXPR()));
|
|
|
|
// auto_ptr<SecDNSMaxSigLifeType> maxSigLife(new SecDNSMaxSigLifeType(maxSigLifeInt));//
|
|
// infData->setMaxSigLife(maxSigLife.release());
|
|
// }
|
|
|
|
// int secDnsCount = getResponseDSData(xmlDoc);
|
|
// initialised = (secDnsCount > 0) && (infData->getDSDataListSize() == secDnsCount);
|
|
|
|
if (!initialised)
|
|
{
|
|
// secDnsCount = getResponseKeyData(xmlDoc);
|
|
//initialised = (secDnsCount > 0) && (infData->getKeyDataListSize() == secDnsCount);
|
|
}
|
|
}
|
|
bool LPRespExtender::isInitialised() const {return initialised;}
|