Ignore:
Timestamp:
05/19/11 19:06:32 (13 years ago)
Author:
hozdoba
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/xmlio/main_server.cpp

    r196 r198  
    1515   try 
    1616   { 
     17      ARRAY_CREATE(value0, double, 1, [200]); 
     18      ARRAY_CREATE(value1, double, 1, [1000]); 
     19      ARRAY_CREATE(value2, double, 1, [2000]); 
    1720      comm::CMPIManager::Initialise(&argc, &argv); // < seulement en mode connecté 
    1821       
     
    2225         server.run(); 
    2326         std::cout << "fin serveur" << std::endl; 
     27         comm::CMPIManager::Barrier(); 
    2428          
    2529      } 
    2630      else 
    2731      { 
     32          
    2833         comm::CClient client(comm::CMPIManager::GetCommWorld()); 
    2934         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         } 
    3044         client.finalize(); 
     45         comm::CMPIManager::Barrier(); 
    3146      } 
    3247       
Note: See TracChangeset for help on using the changeset viewer.