/*********************************************************************************
** Copyright (c) 1992-2026 MAK Technologies, Inc.
** All rights reserved.
*********************************************************************************/

/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!This is an auto-generated file.  Any changes will be destroyed!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/

#pragma once

#include "managedInterface/message.h"

#include <string>


class MANAGEDINTERFACE_DLL AcknowledgeMessage : public DtMessage
{
public:
   enum ResponseFlag {ResponseFlag_NOWAY, ResponseFlag_SURETHING};
   enum AcknowledgeFlag {AcknowledgeFlag_CREATE=1, AcknowledgeFlag_REMOVE=2, AcknowledgeFlag_START=3, AcknowledgeFlag_STOP=4};




  AcknowledgeMessage();
  virtual ~AcknowledgeMessage();

   virtual std::string getSenderId();
   virtual void setSenderId(std::string val);

   virtual std::string getReceiverId();
   virtual void setReceiverId(std::string val);

   virtual unsigned int getRequestId();
   virtual void setRequestId(unsigned int val);

   virtual AcknowledgeFlag getAckFlag();
   virtual void setAckFlag(AcknowledgeFlag val);

   virtual ResponseFlag getRespFlag();
   virtual void setRespFlag(ResponseFlag val);



  virtual int messageSize();
  
   static DtMessage* decode(unsigned char* buffer, int length);
   static std::string theMessageName();

protected:
   static std::string theFullName;

   std::string mySenderId;
   std::string myReceiverId;
   unsigned int myRequestId;
   AcknowledgeFlag myAckFlag;
   ResponseFlag myRespFlag;

   virtual void serialize(DtStreamWriter& writer);
   virtual void deserialize(DtStreamReader& reader);
};
