Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef __INET_TCPECHOAPP_H
00015 #define __INET_TCPECHOAPP_H
00016
00017 #include <omnetpp.h>
00018 #include "INETDefs.h"
00019
00020
00021
00026 class INET_API TCPEchoApp : public cSimpleModule
00027 {
00028 protected:
00029 simtime_t delay;
00030 double echoFactor;
00031
00032 long bytesRcvd;
00033 long bytesSent;
00034
00035 protected:
00036 virtual void sendDown(cMessage *msg);
00037
00038 protected:
00039 virtual void initialize();
00040 virtual void handleMessage(cMessage *msg);
00041 virtual void finish();
00042 };
00043
00044 #endif
00045
00046