1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #ifndef _AE_CREATE_SESSION_RESPONSE_H
- #define _AE_CREATE_SESSION_RESPONSE_H
- #include <IAEResponse.h>
- #include <stdint.h>
- namespace aesm
- {
- namespace message
- {
- class Response_CreateSessionResponse;
- };
- };
- class AECreateSessionResponse : public IAEResponse
- {
- public:
- AECreateSessionResponse();
- AECreateSessionResponse(aesm::message::Response_CreateSessionResponse& response);
- AECreateSessionResponse(uint32_t errorCode, uint32_t sessionId, uint32_t dhMsg1Length, const uint8_t* dhMsg1);
- AECreateSessionResponse(const AECreateSessionResponse& other);
- ~AECreateSessionResponse();
- AEMessage* serialize();
- bool inflateWithMessage(AEMessage* message);
- bool GetValues(uint32_t* errorCode, uint32_t* sessionId, uint32_t dhMsg1Length, uint8_t* dhMsg1) const;
-
- AECreateSessionResponse& operator=(const AECreateSessionResponse& other);
-
- bool check();
- protected:
- void ReleaseMemory();
- aesm::message::Response_CreateSessionResponse* m_response;
- };
- #endif
|