summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.cpp')
-rw-r--r--TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.cpp b/TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.cpp
index b26b9dbb0ec..9790bf16f98 100644
--- a/TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.cpp
+++ b/TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.cpp
@@ -15,36 +15,28 @@ TAO_Notify_ORB_Objects::init (CORBA::ORB_var& orb ACE_ENV_ARG_DECL)
CORBA::Object_var object = this->orb_->resolve_initial_references("RootPOA"
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
this->root_poa_ = PortableServer::POA::_narrow (object.in () ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
// Resolve the RTORB.
object = this->orb_->resolve_initial_references ("RTORB"
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
this->rt_orb_ = RTCORBA::RTORB::_narrow (object.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
// Resolve the Current
object = this->orb_->resolve_initial_references ("RTCurrent"
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
this->current_ = RTCORBA::Current::_narrow (object.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
// Resolve the Naming service
object = this->orb_->resolve_initial_references ("NameService" ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
this->naming_ = CosNaming::NamingContextExt::_narrow (object.in ()
ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
}
TAO_Notify_ORB_Objects::~TAO_Notify_ORB_Objects ()
@@ -52,7 +44,7 @@ TAO_Notify_ORB_Objects::~TAO_Notify_ORB_Objects ()
}
CosNotifyChannelAdmin::EventChannelFactory_ptr
-TAO_Notify_ORB_Objects::notify_factory (ACE_ENV_SINGLE_ARG_DECL)
+TAO_Notify_ORB_Objects::notify_factory (void)
{
CosNotifyChannelAdmin::EventChannelFactory_var ecf;
@@ -62,10 +54,8 @@ TAO_Notify_ORB_Objects::notify_factory (ACE_ENV_SINGLE_ARG_DECL)
name[0].id = CORBA::string_dup ("NotifyEventChannelFactory");
CORBA::Object_var object = this->naming_->resolve (name ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (ecf._retn ());
ecf = CosNotifyChannelAdmin::EventChannelFactory::_narrow (object.in() ACE_ENV_ARG_PARAMETER);
- ACE_CHECK_RETURN (ecf._retn ());
return ecf._retn ();
}