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

EtherAppReq Class Reference

#include <EtherApp_m.h>

Inheritance diagram for EtherAppReq:

cMessage30 List of all members.

Public Methods

 EtherAppReq (const char *name=NULL, int kind=0)
 EtherAppReq (const EtherAppReq &other)
virtual ~EtherAppReq ()
EtherAppReq & operator= (const EtherAppReq &other)
virtual cObject * dup () const
virtual long getRequestId () const
virtual void setRequestId (long requestId_var)
virtual long getResponseBytes () const
virtual void setResponseBytes (long responseBytes_var)

Protected Attributes

long requestId_var
long responseBytes_var

Constructor & Destructor Documentation

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

Definition at line 20 of file EtherApp_m.cc.

References requestId_var, and responseBytes_var.

Referenced by dup().

00020                                                    : cMessage30(name,kind)
00021 {
00022     unsigned int i;
00023     this->requestId_var = 0;
00024     this->responseBytes_var = 0;
00025 }

EtherAppReq::EtherAppReq const EtherAppReq &    other
 

Definition at line 27 of file EtherApp_m.cc.

References operator=().

00027                                                  : cMessage30()
00028 {
00029     unsigned int i;
00030     setName(other.name());
00031     operator=(other);
00032 }

EtherAppReq::~EtherAppReq   [virtual]
 

Definition at line 34 of file EtherApp_m.cc.

00035 {
00036     unsigned int i;
00037 }


Member Function Documentation

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

Reimplemented from cMessage30.

Definition at line 28 of file EtherApp_m.h.

References EtherAppReq().

00028 {return new EtherAppReq(*this);}

long EtherAppReq::getRequestId   const [virtual]
 

Definition at line 49 of file EtherApp_m.cc.

References requestId_var.

Referenced by EtherAppReqDescriptor::getFieldAsString(), and EtherAppSrv::handleMessage().

00050 {
00051     return requestId_var;
00052 }

long EtherAppReq::getResponseBytes   const [virtual]
 

Definition at line 59 of file EtherApp_m.cc.

References responseBytes_var.

Referenced by EtherAppReqDescriptor::getFieldAsString(), and EtherAppSrv::handleMessage().

00060 {
00061     return responseBytes_var;
00062 }

EtherAppReq & EtherAppReq::operator= const EtherAppReq &    other
 

Definition at line 39 of file EtherApp_m.cc.

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

Referenced by EtherAppReq().

00040 {
00041     if (this==&other) return *this;
00042     unsigned int i;
00043     cMessage30::operator=(other);
00044     this->requestId_var = other.requestId_var;
00045     this->responseBytes_var = other.responseBytes_var;
00046     return *this;
00047 }

void EtherAppReq::setRequestId long    requestId_var [virtual]
 

Definition at line 54 of file EtherApp_m.cc.

References requestId_var.

Referenced by EtherAppCli::sendPacket(), and EtherAppReqDescriptor::setFieldAsString().

00055 {
00056     this->requestId_var = requestId_var;
00057 }

void EtherAppReq::setResponseBytes long    responseBytes_var [virtual]
 

Definition at line 64 of file EtherApp_m.cc.

References responseBytes_var.

Referenced by EtherAppCli::sendPacket(), and EtherAppReqDescriptor::setFieldAsString().

00065 {
00066     this->responseBytes_var = responseBytes_var;
00067 }


Member Data Documentation

long EtherAppReq::requestId_var [protected]
 

Definition at line 21 of file EtherApp_m.h.

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

long EtherAppReq::responseBytes_var [protected]
 

Definition at line 22 of file EtherApp_m.h.

Referenced by EtherAppReq(), getResponseBytes(), operator=(), and setResponseBytes().


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