Last change
on this file since 274 was
274,
checked in by hozdoba, 13 years ago
|
nouvelle interface fortran et corrections
|
File size:
1.1 KB
|
Line | |
---|
1 | // XmlIOServer |
---|
2 | #include "xmlioserver.hpp" |
---|
3 | |
---|
4 | #include "attribute_template_impl.hpp" |
---|
5 | #include "group_template_impl.hpp" |
---|
6 | |
---|
7 | #include "client.hpp" |
---|
8 | #include "server.hpp" |
---|
9 | |
---|
10 | // Point d'entrée du programme principal |
---|
11 | |
---|
12 | int main (int argc, char ** argv, char ** UNUSED (env)) |
---|
13 | { |
---|
14 | try |
---|
15 | { |
---|
16 | MPIComm comm_client, comm_client_server, comm_server; |
---|
17 | comm::CMPIManager::Initialise(&argc, &argv); // < seulement en mode connecté |
---|
18 | |
---|
19 | CTreeManager::ParseFile ("test/iodef_simple_test.xml"); |
---|
20 | CTreeManager::PrintTreeToFile("wk/def/test.xml"); |
---|
21 | |
---|
22 | comm::CMPIManager::Finalize(); // < seulement en mode connecté |
---|
23 | |
---|
24 | //CXIOSManager::Initialise (CXIOSManager::CLIENT_SERVER, &argc, &argv); |
---|
25 | //CMPIManager::DispatchClient(true, comm_client, comm_client_server, comm_server); |
---|
26 | //CXIOSManager::RunServer("Nemo", comm_client_server, comm_server); |
---|
27 | //CXIOSManager::Finalize (); |
---|
28 | } |
---|
29 | catch (CException & exc) |
---|
30 | { |
---|
31 | std::cerr << exc.getMessage () << std::endl; |
---|
32 | CMPIManager::Finalize (); |
---|
33 | return (EXIT_FAILURE); |
---|
34 | } |
---|
35 | return (EXIT_SUCCESS); |
---|
36 | } |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.