-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprobeMsg.msg
More file actions
44 lines (38 loc) · 1.03 KB
/
Copy pathprobeMsg.msg
File metadata and controls
44 lines (38 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// This file is part of an OMNeT++/OMNEST simulation example.
//
// Copyright (C) 2003 Ahmet Sekercioglu
// Copyright (C) 2003-2015 Andras Varga
//
// This file is distributed WITHOUT ANY WARRANTY. See the file
// `license' for details on this and other legal matters.
//
//
// Same as TictocMsg11
//
import routerMsg;
import transactionMsg;
cplusplus {{
//#include <vector>
//#include <map>
////typedef std::vector<int> IntVector;
//typedef std::vector<double> DoubleVector;
////typedef std::map<int, double> IntMap_2;
//}};
//class noncobject IntVector;
//class noncobject IntMap;
//class noncobject DoubleVector;
//class IntVector_2 { @existingClass; }
//class IntMap_2 { @existingClass; }
//class DoubleVector { @existingClass; }
packet probeMsg
//if encapIsAck == false needs to look in encapsulated transactionMsg for priority class and amount
{
int pathIndex;
int sender;
int receiver;
bool isReversed = false;
DoubleVector pathBalances;
IntVector path;
int transactionId; //used only for landmark routing
}