1 #ifndef LBS_II_H
2 #define LBS_II_H
3
4 #include <omnetpp.h>
5 #include "server.h"
6
7 class LBS_II : public cSimpleModule
{
8 Module_Class_Members(LBS_II,cSimpleModule,8192)
9 virtual void activity();
10 virtual void finish();
11 virtual void initialize();
12
13 private:
14 Server **server;
15 double *rate;
16 double *balancing;
17 int serverCount;
18 int rg;
19
20 void update();
21 int chooseServer();
22 };
23
24
25 #endif
26