//
// Generated file, do not edit! Created by nedtool 5.2 from Frames/new_Connection_Id.msg.
//

#if defined(__clang__)
#  pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#ifndef __NEW_CONNECTION_ID_M_H
#define __NEW_CONNECTION_ID_M_H

#include <omnetpp.h>

// nedtool version check
#define MSGC_VERSION 0x0502
#if (MSGC_VERSION!=OMNETPP_VERSION)
#    error Version mismatch! Probably this file was generated by an earlier version of nedtool: 'make clean' should help.
#endif



// cplusplus {{
  	#include <vector>
  	typedef std::vector<uint64_t> SRT;	
// }}

/**
 * Class generated from <tt>Frames/new_Connection_Id.msg:26</tt> by nedtool.
 * <pre>
 * class New_Connection_Id
 * {
 *     uint8_t type = 11;
 *     uint16_t sequence;
 *     uint64_t connection_Id;
 *     SRT stateless_Reset_Token;
 * }
 * </pre>
 */
class New_Connection_Id : public ::omnetpp::cObject
{
  protected:
    uint8_t type;
    uint16_t sequence;
    uint64_t connection_Id;
    SRT stateless_Reset_Token;

  private:
    void copy(const New_Connection_Id& other);

  protected:
    // protected and unimplemented operator==(), to prevent accidental usage
    bool operator==(const New_Connection_Id&);

  public:
    New_Connection_Id();
    New_Connection_Id(const New_Connection_Id& other);
    virtual ~New_Connection_Id();
    New_Connection_Id& operator=(const New_Connection_Id& other);
    virtual New_Connection_Id *dup() const override {return new New_Connection_Id(*this);}
    virtual void parsimPack(omnetpp::cCommBuffer *b) const override;
    virtual void parsimUnpack(omnetpp::cCommBuffer *b) override;

    // field getter/setter methods
    virtual uint8_t getType() const;
    virtual void setType(uint8_t type);
    virtual uint16_t getSequence() const;
    virtual void setSequence(uint16_t sequence);
    virtual uint64_t getConnection_Id() const;
    virtual void setConnection_Id(uint64_t connection_Id);
    virtual SRT& getStateless_Reset_Token();
    virtual const SRT& getStateless_Reset_Token() const {return const_cast<New_Connection_Id*>(this)->getStateless_Reset_Token();}
    virtual void setStateless_Reset_Token(const SRT& stateless_Reset_Token);
};

inline void doParsimPacking(omnetpp::cCommBuffer *b, const New_Connection_Id& obj) {obj.parsimPack(b);}
inline void doParsimUnpacking(omnetpp::cCommBuffer *b, New_Connection_Id& obj) {obj.parsimUnpack(b);}


#endif // ifndef __NEW_CONNECTION_ID_M_H

