From efa853402d6b1b6aa7cfe0ad20ea434bb77f5f0d Mon Sep 17 00:00:00 2001 From: doccvs Date: Tue, 15 Aug 2000 16:43:33 +0000 Subject: ChangeLogTag: Mon Tue 15 09:42:13 2000 Priyanka Gontla --- TAO/orbsvcs/CosEvent_Service/CosEvent_Service_Native.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'TAO/orbsvcs') diff --git a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service_Native.cpp b/TAO/orbsvcs/CosEvent_Service/CosEvent_Service_Native.cpp index 440a50a397a..a4886b76c26 100644 --- a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service_Native.cpp +++ b/TAO/orbsvcs/CosEvent_Service/CosEvent_Service_Native.cpp @@ -31,7 +31,7 @@ class EventChannel : public TAO_CEC_EventChannel // an application controled event loop. // We don't use ORB::shutdown() because that leaves the ORB is a // state where it is hard to cleanup the system. - // + // public: EventChannel (const TAO_CEC_EventChannel_Attributes &attr, int *terminate_flag); @@ -56,24 +56,24 @@ main (int argc, char* argv[]) int result; // Intialize the ORB - CORBA::ORB_var orb = + CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, ACE_TRY_ENV); ACE_TRY_CHECK; - // Call TAO_Event_Loader::init (argc, argv) from here. - TAO_Event_Loader event_service; + // Call TAO_CEC_Event_Loader::init (argc, argv) from here. + TAO_CEC_Event_Loader event_service; // To intialise the service result = event_service.init (argc, argv); - + if (result == -1) return 1; - + orb->run(); - + // Destroy the ORB orb->destroy(); - + } ACE_CATCHANY { -- cgit v1.2.1