1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef __AE_INIT_QUOTE_RESPONSE_H
- #define __AE_INIT_QUOTE_RESPONSE_H
- #include <IAEResponse.h>
- #include <stdint.h>
- namespace aesm
- {
- namespace message
- {
- class Response_InitQuoteResponse;
- };
- };
- class AEInitQuoteResponse : public IAEResponse
- {
- public:
- AEInitQuoteResponse();
- AEInitQuoteResponse(aesm::message::Response_InitQuoteResponse& response);
- AEInitQuoteResponse(uint32_t errorCode, uint32_t gidLength, const uint8_t* gid,
- uint32_t targetInfoLength, const uint8_t* targetInfo);
- AEInitQuoteResponse(const AEInitQuoteResponse& other);
- ~AEInitQuoteResponse();
-
- bool inflateWithMessage(AEMessage* message);
- AEMessage* serialize();
- bool GetValues(uint32_t* errorCode, uint32_t gidLength, uint8_t* gid,
- uint32_t targetInfoLength, uint8_t* targetInfo) const;
-
- AEInitQuoteResponse& operator=(const AEInitQuoteResponse &other);
-
- bool check();
- protected:
- void ReleaseMemory();
- aesm::message::Response_InitQuoteResponse* m_response;
- };
- #endif
|