RINASim  October 2016
Documentation of framework for OMNeT++
DCInfection.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Infection.h"
4 #include "DCAddr.h"
5 
6 using namespace std;
7 using namespace NSPSimpleDC;
8 
9 
10 namespace Infection {
11  class DCInfection;
12 
13  class DCInfection : public cSimpleModule {
14  public:
15  protected:
16  virtual void initialize();
17  virtual void handleMessage(cMessage *msg);
18 
19  virtual void setNext();
20  PDU * getPDU();
21 
22  cModule * mod, * rmt;
23 
24  DCAddr Im, current;
25  int pods, torXpod, fabricXpod, spineXfabric, edgeSets;
26  bool toTors, toFabric, toSpines, toEdges;
27 
28  double interTime;
29  int loopRem;
30 
32  Address srcAddr, dstAddr;
33  };
34 }
Connection identifier as defined in specifications.
Definition: ConnectionId.h:42
Definition: PDU.h:42
Address class holds IPC Process identification.
Definition: Address.h:42
ConnectionId connID
Definition: DCInfection.h:31