source: XMLIO_V2/dev/dev_rv/src/xmlio/main_server.cpp @ 190

Last change on this file since 190 was 190, checked in by hozdoba, 13 years ago
File size: 1002 bytes
Line 
1// XmlIOServer
2#include "xmlioserver.hpp"
3
4#include "attribute_template_impl.hpp"
5#include "group_template_impl.hpp"
6
7#include "fake.hpp"
8
9// Point d'entrée du programme principal
10int main(int argc, char ** argv, char ** UNUSED(env))
11{
12   /*try
13   {
14      //comm::CMPIManager::Initialise(&argc, &argv); // < seulement en mode connecté
15     
16      CXIOSManager::Initialise(CXIOSManager::CLIENT_SERVER, &argc, &argv);
17     
18      CXIOSManager::AddClient("nemo"    , 4, 2, &nemo_fake_entry);
19      //CXIOSManager::AddClient("orchidee", 1, 1, &orchidee_fake_entry);
20      //CXIOSManager::AddClient("lmdz"    , 4, 2, &lmdz_fake_entry);
21      CXIOSManager::RunClientServer(comm::CMPIManager::GetCommWorld());
22      CXIOSManager::Finalize();
23     
24      //comm::CMPIManager::Finalize(); // < seulement en mode connecté
25
26   }
27   catch (CException & exc)
28   {
29      std::cerr << exc.getMessage() << std::endl;
30      CMPIManager::Finalize();
31      return (EXIT_FAILURE);
32   }*/
33   return (EXIT_SUCCESS);
34}
35
Note: See TracBrowser for help on using the repository browser.