diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp b/TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp index 91faa38d6bb..fb95de7463a 100644 --- a/TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp +++ b/TAO/orbsvcs/tests/Notify/lib/Notify_Test_Client.cpp @@ -108,9 +108,7 @@ Notify_Test_Client::resolve_Notify_factory (void) this->naming_context_->resolve (name); this->notify_factory_ = - CosNotifyChannelAdmin::EventChannelFactory::_narrow ( - obj.in () - ); + CosNotifyChannelAdmin::EventChannelFactory::_narrow (obj.in ()); } int @@ -177,24 +175,20 @@ Notify_Test_Client::root_poa (void) return this->root_poa_.in (); } - CosNaming::NamingContext_ptr Notify_Test_Client::naming_context (void) { return this->naming_context_.in (); } - CosNotifyChannelAdmin::EventChannelFactory_ptr Notify_Test_Client::notify_factory (void) { return this->notify_factory_.in (); } - CosNotifyChannelAdmin::EventChannel_ptr -Notify_Test_Client::create_event_channel (const char* cname, - int resolve) +Notify_Test_Client::create_event_channel (const char* cname, bool resolve) { CosNotifyChannelAdmin::EventChannel_var ec; CosNaming::Name name (1); @@ -221,7 +215,6 @@ Notify_Test_Client::create_event_channel (const char* cname, initial_admin, id); - naming_context_->rebind(name, ec.in()); } |