Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

EtherApp_m.h

Go to the documentation of this file.
00001 //
00002 // Generated file, do not edit! Created by opp_msgc.
00003 //
00004 
00005 #ifndef _ETHERAPP_M_H_
00006 #define _ETHERAPP_M_H_
00007 
00008 #include <omnetpp.h>
00009 // cplusplus {{ ... }} section:
00010 
00011 #include "cmessage30.h"
00012 
00013 #define ETHERAPP_CLI_SAP  0xf0
00014 #define ETHERAPP_SRV_SAP  0xf1
00015 // end cplusplus
00016 
00017 
00018 class EtherAppReq : public cMessage30
00019 {
00020   protected:
00021     long requestId_var;
00022     long responseBytes_var;
00023   public:
00024     EtherAppReq(const char *name=NULL, int kind=0);
00025     EtherAppReq(const EtherAppReq& other);
00026     virtual ~EtherAppReq();
00027     EtherAppReq& operator=(const EtherAppReq& other);
00028     virtual cObject *dup() const {return new EtherAppReq(*this);}
00029 
00030     // field getter/setter methods
00031     virtual long getRequestId() const;
00032     virtual void setRequestId(long requestId_var);
00033     virtual long getResponseBytes() const;
00034     virtual void setResponseBytes(long responseBytes_var);
00035 };
00036 
00037 class EtherAppResp : public cMessage30
00038 {
00039   protected:
00040     int requestId_var;
00041     int numFrames_var;
00042   public:
00043     EtherAppResp(const char *name=NULL, int kind=0);
00044     EtherAppResp(const EtherAppResp& other);
00045     virtual ~EtherAppResp();
00046     EtherAppResp& operator=(const EtherAppResp& other);
00047     virtual cObject *dup() const {return new EtherAppResp(*this);}
00048 
00049     // field getter/setter methods
00050     virtual int getRequestId() const;
00051     virtual void setRequestId(int requestId_var);
00052     virtual int getNumFrames() const;
00053     virtual void setNumFrames(int numFrames_var);
00054 };
00055 
00056 #endif // _ETHERAPP_M_H_

Generated on Sat May 15 20:30:42 2004 for Ethernet by doxygen1.2.17