#include <EtherApp_m.h>
Inheritance diagram for EtherAppReq:

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 |
|
||||||||||||
|
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 } |
|
|
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 } |
|
|
Definition at line 34 of file EtherApp_m.cc.
00035 {
00036 unsigned int i;
00037 }
|
|
|
Reimplemented from cMessage30. Definition at line 28 of file EtherApp_m.h. References EtherAppReq().
00028 {return new EtherAppReq(*this);}
|
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
Definition at line 21 of file EtherApp_m.h. Referenced by EtherAppReq(), getRequestId(), operator=(), and setRequestId(). |
|
|
Definition at line 22 of file EtherApp_m.h. Referenced by EtherAppReq(), getResponseBytes(), operator=(), and setResponseBytes(). |
1.2.17