2 #include "IFR_Service.h"
3 #include "orbsvcs/IFRService/ComponentRepository_i.h"
4 #include "orbsvcs/IFRService/Options.h"
5 #include "tao/IFR_Client/IFR_ComponentsS.h"
6 #include "orbsvcs/IFRService/IFR_Service_Utils.h"
7 #include "orbsvcs/IOR_Multicast.h"
8 #include "tao/IORTable/IORTable.h"
9 #include "tao/ORB_Core.h"
10 #include "ace/Auto_Ptr.h"
12 IFR_Service::IFR_Service (void)
16 IFR_Service::~IFR_Service (void)
21 IFR_Service::init (int argc
,
27 this->orb_
= CORBA::ORB_init (argc
, argv
);
29 result
= this->my_ifr_server_
.init_with_orb (argc
,
38 catch (const CORBA::Exception
& ex
)
40 ex
._tao_print_exception ("IFR_Service::init");
48 IFR_Service::run (void)
56 IFR_Service::fini (void)
60 this->my_ifr_server_
.fini ();
62 catch (const CORBA::Exception
& ex
)
64 ex
._tao_print_exception ("IFR_Service::fini");
71 IFR_Service::shutdown (void)
73 this->orb_
->shutdown ();