|
#ifndef IncomingXMLPacket__INCLUDED
#define IncomingXMLPacket__INCLUDED
#pragma once
#include "Symbols.h"
#include "xmlParser.h"
class XMLPROTOCOL_API IncomingXMLPacket : public PushFramework::IncomingPacket
{
public:
IncomingXMLPacket();
virtual ~IncomingXMLPacket(void);
virtual bool Decode(char* pBuffer, unsigned int uBufferSize);
const char* getArgumentAsText(char* argName, bool& updateSuccess);
int getArgumentAsInt(char* argName, bool& updateSuccess);
bool getArgumentAsBool(char* argName, bool& updateSuccess);
virtual bool FragmentXML() = 0;
virtual void* CreateInstance() = 0;
XMLNode getInputXML();
private:
char* pString;
unsigned int uBufferSize;
//
XMLNode xRoot;
};
#endif // IncomingXMLPacket__INCLUDED
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.