1 #include "../lib/Notify_Test_Client.h"
2 #include "orbsvcs/NotifyExtC.h"
3 #include "ace/OS_main.h"
6 ACE_TMAIN(int argc
, ACE_TCHAR
*argv
[])
10 // Initialize the base class.
11 Notify_Test_Client client
;
12 client
.init (argc
, argv
);
14 CosNotifyChannelAdmin::EventChannelFactory_ptr ecf
= client
.notify_factory ();
16 NotifyExt::EventChannelFactory_var ecf_ext
= NotifyExt::EventChannelFactory::_narrow (ecf
);
18 ACE_DEBUG((LM_DEBUG
, "Destroying ECF...\n"));
22 ACE_DEBUG((LM_DEBUG
, "ECF destroyed.\n"));
24 catch (const CORBA::Exception
& ex
)
26 ex
._tao_print_exception (ACE_TEXT("Error:\n"));