/***********************************************************************
* Module: CMKResponse.h
* Author: JStone
* Modified: 2012年9月3日 10:11:28
* Purpose: Declaration of the class CMKResponse
***********************************************************************/
#if !defined(__MKFramework_CMKResponse_h)
#define __MKFramework_CMKResponse_h
#include "CMKCommand.h"
class CMKResponse : public CMKCommand
{
public:
CMKResponse(const CMKResponse& obj);
CMKResponse(const CMKObject* parent);
CMKResponse();
CMKResponse(CMKCommand* com);
virtual ~CMKResponse();
/* core operation */
virtual CMKObject* excute(void) const;
void setRequest(const CMKObject* obj);
virtual CMKObject* _Response(void) const=0;
protected:
/* analysis the request\ */
virtual void _Action(void) const;
const CMKObject* _Request(void) const;
private:
const CMKObject* m_pRequest;
};
#endif