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

EtherAppResp Class Reference

#include <EtherApp_m.h>

Inheritance diagram for EtherAppResp:

cMessage30 List of all members.

Public Methods

 EtherAppResp (const char *name=NULL, int kind=0)
 EtherAppResp (const EtherAppResp &other)
virtual ~EtherAppResp ()
EtherAppResp & operator= (const EtherAppResp &other)
virtual cObject * dup () const
virtual int getRequestId () const
virtual void setRequestId (int requestId_var)
virtual int getNumFrames () const
virtual void setNumFrames (int numFrames_var)

Protected Attributes

int requestId_var
int numFrames_var

Constructor & Destructor Documentation

EtherAppResp::EtherAppResp const char *    name = NULL,
int    kind = 0
 

Definition at line 191 of file EtherApp_m.cc.

References numFrames_var, and requestId_var.

Referenced by dup().

00191                                                      : cMessage30(name,kind)
00192 {
00193     unsigned int i;
00194     this->requestId_var = 0;
00195     this->numFrames_var = 0;
00196 }

EtherAppResp::EtherAppResp const EtherAppResp &    other
 

Definition at line 198 of file EtherApp_m.cc.

References operator=().

00198                                                     : cMessage30()
00199 {
00200     unsigned int i;
00201     setName(other.name());
00202     operator=(other);
00203 }

EtherAppResp::~EtherAppResp   [virtual]
 

Definition at line 205 of file EtherApp_m.cc.

00206 {
00207     unsigned int i;
00208 }


Member Function Documentation

virtual cObject* EtherAppResp::dup   const [inline, virtual]
 

Reimplemented from cMessage30.

Definition at line 47 of file EtherApp_m.h.

References EtherAppResp().

00047 {return new EtherAppResp(*this);}

int EtherAppResp::getNumFrames   const [virtual]
 

Definition at line 230 of file EtherApp_m.cc.

References numFrames_var.

Referenced by EtherAppRespDescriptor::getFieldAsString().

00231 {
00232     return numFrames_var;
00233 }

int EtherAppResp::getRequestId   const [virtual]
 

Definition at line 220 of file EtherApp_m.cc.

References requestId_var.

Referenced by EtherAppRespDescriptor::getFieldAsString().

00221 {
00222     return requestId_var;
00223 }

EtherAppResp & EtherAppResp::operator= const EtherAppResp &    other
 

Definition at line 210 of file EtherApp_m.cc.

References numFrames_var, cMessage30::operator=(), and requestId_var.

Referenced by EtherAppResp().

00211 {
00212     if (this==&other) return *this;
00213     unsigned int i;
00214     cMessage30::operator=(other);
00215     this->requestId_var = other.requestId_var;
00216     this->numFrames_var = other.numFrames_var;
00217     return *this;
00218 }

void EtherAppResp::setNumFrames int    numFrames_var [virtual]
 

Definition at line 235 of file EtherApp_m.cc.

References numFrames_var.

Referenced by EtherAppRespDescriptor::setFieldAsString().

00236 {
00237     this->numFrames_var = numFrames_var;
00238 }

void EtherAppResp::setRequestId int    requestId_var [virtual]
 

Definition at line 225 of file EtherApp_m.cc.

References requestId_var.

Referenced by EtherAppSrv::handleMessage(), and EtherAppRespDescriptor::setFieldAsString().

00226 {
00227     this->requestId_var = requestId_var;
00228 }


Member Data Documentation

int EtherAppResp::numFrames_var [protected]
 

Definition at line 41 of file EtherApp_m.h.

Referenced by EtherAppResp(), getNumFrames(), operator=(), and setNumFrames().

int EtherAppResp::requestId_var [protected]
 

Definition at line 40 of file EtherApp_m.h.

Referenced by EtherAppResp(), getRequestId(), operator=(), and setRequestId().


The documentation for this class was generated from the following files:
Generated on Sat May 15 20:30:45 2004 for Ethernet by doxygen1.2.17