Changes between Version 9 and Version 10 of Documentation/Tutorial/PingPong
- Timestamp:
- Jan 21, 2009, 8:55:16 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/Tutorial/PingPong
v9 v10 103 103 }}} 104 104 105 First we include the .h file, define the namespace, turn logging functionality on (line 07) and set the ID of the Service. Every service using ''Ariba'' is connected to a specific ID that may be chosen initially and arbitrarily. This ID serves ''Ariba'' to distinguish between several services that may use it concurrently. Via ''setMode'' (lines 16-18) one can indicate which node in the example should start the packet sending process. This method is called in main.cpp after getting this information from the config file. 106 105 107 106 108 109