//
// Generated file, do not edit! Created by nedtool 5.2 from Packets/server_Cleartext.msg.
//

#if defined(__clang__)
#  pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#ifndef __SERVER_CLEARTEXT_M_H
#define __SERVER_CLEARTEXT_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 "Frames/stream_m.h"
#include "Frames/ack_m.h"
#include "Frames/padding_m.h"
// }}

/**
 * Class generated from <tt>Packets/server_Cleartext.msg:28</tt> by nedtool.
 * <pre>
 * //
 * // TODO generated message class
 * //
 * packet Server_Cleartext
 * {
 *     Stream stream_0;
 *     Ack ack_0;
 *     Padding padding_0;
 * }
 * </pre>
 */
class Server_Cleartext : public ::omnetpp::cPacket
{
  protected:
    Stream stream_0;
    Ack ack_0;
    Padding padding_0;

  private:
    void copy(const Server_Cleartext& other);

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

  public:
    Server_Cleartext(const char *name=nullptr, short kind=0);
    Server_Cleartext(const Server_Cleartext& other);
    virtual ~Server_Cleartext();
    Server_Cleartext& operator=(const Server_Cleartext& other);
    virtual Server_Cleartext *dup() const override {return new Server_Cleartext(*this);}
    virtual void parsimPack(omnetpp::cCommBuffer *b) const override;
    virtual void parsimUnpack(omnetpp::cCommBuffer *b) override;

    // field getter/setter methods
    virtual Stream& getStream_0();
    virtual const Stream& getStream_0() const {return const_cast<Server_Cleartext*>(this)->getStream_0();}
    virtual void setStream_0(const Stream& stream_0);
    virtual Ack& getAck_0();
    virtual const Ack& getAck_0() const {return const_cast<Server_Cleartext*>(this)->getAck_0();}
    virtual void setAck_0(const Ack& ack_0);
    virtual Padding& getPadding_0();
    virtual const Padding& getPadding_0() const {return const_cast<Server_Cleartext*>(this)->getPadding_0();}
    virtual void setPadding_0(const Padding& padding_0);
};

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


#endif // ifndef __SERVER_CLEARTEXT_M_H

