close
Warning:
BrowserModule failed with ConfigurationError: Look in the Trac log for more information.
- Timestamp:
-
May 26, 2010, 5:19:19 PM (15 years ago)
- Author:
-
Ingmar Baumgart
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v45
|
v46
|
|
1 | 1 | On this page we offer a guide how to add your own overlay protocol implementation |
2 | | to !OverSim. You can download the example files [#ExampleSourceCode here]. |
| 2 | to !OverSim. The example files are included in the latest !OverSim distribution in the ''src/overlay/myoverlay'' and ''src/applications/myapplication'' directories. |
3 | 3 | |
4 | 4 | Other good starting points you could look at: |
5 | 5 | |
6 | | * The source code of the Chord protocol in [source:src/overlay/chord/Chord.cc] |
| 6 | * The source code of the Chord protocol in ''src/overlay/chord/Chord.cc'' |
7 | 7 | * The [http://www.omnetpp.org/pmwiki/index.php?n=Main.Omnetpp4 OMNeT++ documentation] |
8 | 8 | |
9 | 9 | |
10 | 10 | == '''Be careful:''' == |
11 | | * This documentation covers only OMNeT++-4.0 compatible versions of !OverSim! [[BR]] |
| 11 | * This documentation covers only OMNeT++-4.x compatible versions of !OverSim! [[BR]] |
12 | 12 | (For documentation about OMNeT++-3.x compatible versions of !OverSim, see OverSimDevelopOld) |
13 | 13 | * It is still under development and may be partly incorrect or outdated! [[BR]] |
… |
… |
|
877 | 877 | }}} |
878 | 878 | |
879 | | == Example Source Code == |
880 | | |
881 | | You can find the source code of the example here (will be included in the next !OverSim release): |
882 | | |
883 | | * [source:src/overlay/myoverlay/MyOverlay.ned src/overlay/myoverlay/MyOverlay.ned] |
884 | | * [source:src/overlay/myoverlay/MyOverlay.msg src/overlay/myoverlay/MyOverlay.msg] |
885 | | * [source:src/overlay/myoverlay/MyOverlay.h src/overlay/myoverlay/MyOverlay.h] |
886 | | * [source:src/overlay/myoverlay/MyOverlay.cc src/overlay/myoverlay/MyOverlay.cc] |
887 | | * [source:src/applications/myapplication/MyApplication.ned src/applications/myapplication/MyApplication.ned] |
888 | | * [source:src/applications/myapplication/MyApplication.h src/applications/myapplication/MyApplication.h] |
889 | | * [source:src/applications/myapplication/MyApplication.cc src/applications/myapplication/MyApplication.cc] |
890 | | * [source:src/applications/myapplication/MyMessage.msg src/applications/myapplication/MyMessage.msg] |
891 | | |
892 | | * [source:simulations/omnetpp.ini omnetpp.ini] (take a look at the '!MyConfig' section) |
893 | | |
894 | | |
895 | 879 | == Have fun! == |