Changeset 198 for XMLIO_V2/dev/dev_rv/src/xmlio/main_server.cpp
- Timestamp:
- 05/19/11 19:06:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/main_server.cpp
r196 r198 15 15 try 16 16 { 17 ARRAY_CREATE(value0, double, 1, [200]); 18 ARRAY_CREATE(value1, double, 1, [1000]); 19 ARRAY_CREATE(value2, double, 1, [2000]); 17 20 comm::CMPIManager::Initialise(&argc, &argv); // < seulement en mode connecté 18 21 … … 22 25 server.run(); 23 26 std::cout << "fin serveur" << std::endl; 27 comm::CMPIManager::Barrier(); 24 28 25 29 } 26 30 else 27 31 { 32 28 33 comm::CClient client(comm::CMPIManager::GetCommWorld()); 29 34 client.initialize(); 35 client.setContext("lol"); 36 37 for (int j = 0; j < 10000; j++) 38 { 39 client.updateCalendar(j); 40 client.sendData("mon_champ0", value0); 41 client.sendData("mon_champ1", value1); 42 client.sendData("mon_champ2", value2); 43 } 30 44 client.finalize(); 45 comm::CMPIManager::Barrier(); 31 46 } 32 47
Note: See TracChangeset
for help on using the changeset viewer.