Changes between Version 2 and Version 3 of Old/Documentation/OTG/ScriptsRepository/ProtoDefColocateSender
- Timestamp:
- Sep 30, 2005, 3:33:20 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/Documentation/OTG/ScriptsRepository/ProtoDefColocateSender
v2 v3 31 31 # for each application. 32 32 # 33 otg1 = p.addApplication(:otg , "test:app:otg")33 otg1 = p.addApplication(:otg1, "test:app:otg") 34 34 otg1.bindProperty('protocol') 35 35 otg1.bindProperty('port','port1') … … 50 50 ) 51 51 52 otg2 = p.addApplication(:otg , "test:app:otg")52 otg2 = p.addApplication(:otg2, "test:app:otg") 53 53 otg2.bindProperty('protocol') 54 54 otg2.bindProperty('port','port2') … … 59 59 otg2.bindProperty('broadcast') 60 60 61 otg 3.addMeasurement('senderport', Filter::TIME,61 otg2.addMeasurement('senderport', Filter::TIME, 62 62 {Filter::SAMPLE_SIZE => 1}, 63 63 [ … … 68 68 ] 69 69 ) 70 otg3 = p.addApplication(:otg , "test:app:otg")70 otg3 = p.addApplication(:otg3, "test:app:otg") 71 71 otg3.bindProperty('protocol') 72 72 otg3.bindProperty('port','port3')