Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / examples / APG / Svc_Config / HA_Configurable_Server_Static.cpp
blob28620b672ad053a5f47ad762b384f583b8950f9c
1 // Listing 1 code/ch19
2 #include "ace/OS_main.h"
3 #include "ace/Service_Config.h"
4 #include "ace/Reactor.h"
6 int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
8 ACE_STATIC_SVC_REGISTER (HA_Status_Descriptor);
9 ACE_Service_Config::open (argc,
10 argv,
11 ACE_DEFAULT_LOGGER_KEY,
12 0);
13 ACE_Reactor::instance ()->run_reactor_event_loop ();
14 return 0;
16 // Listing 1