diff options
author | okellogg <okellogg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-01-29 20:21:11 +0000 |
---|---|---|
committer | okellogg <okellogg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-01-29 20:21:11 +0000 |
commit | 15f9b16afed320b4e581b8f61fee7d7fbf1aa9a8 (patch) | |
tree | fd798ba5478a08b4b6f842cb8515ed9776861f5f /TAO/orbsvcs/tests/Notify/lib/Notify_StructuredPushSupplier.cpp | |
parent | 5e12d6686388ccadee1714b94ddee0cce6587bfd (diff) | |
download | ATCD-15f9b16afed320b4e581b8f61fee7d7fbf1aa9a8.tar.gz |
ChangeLogTag:Tue Jan 29 21:09:12 2002 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/Notify_StructuredPushSupplier.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/lib/Notify_StructuredPushSupplier.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Notify_StructuredPushSupplier.cpp b/TAO/orbsvcs/tests/Notify/lib/Notify_StructuredPushSupplier.cpp index 5dd96dbd149..166168c36cf 100644 --- a/TAO/orbsvcs/tests/Notify/lib/Notify_StructuredPushSupplier.cpp +++ b/TAO/orbsvcs/tests/Notify/lib/Notify_StructuredPushSupplier.cpp @@ -20,7 +20,7 @@ TAO_Notify_StructuredPushSupplier::~TAO_Notify_StructuredPushSupplier () void TAO_Notify_StructuredPushSupplier::init - (PortableServer::POA_ptr poa TAO_ENV_ARG_DECL_NOT_USED) + (PortableServer::POA_ptr poa ACE_ENV_ARG_DECL_NOT_USED) { this->default_POA_ = PortableServer::POA::_duplicate (poa); } @@ -33,19 +33,19 @@ TAO_Notify_StructuredPushSupplier::get_proxy_consumer (void) void TAO_Notify_StructuredPushSupplier::connect ( - CosNotifyChannelAdmin::SupplierAdmin_ptr supplier_admin - TAO_ENV_ARG_DECL + CosNotifyChannelAdmin::SupplierAdmin_ptr supplier_admin + ACE_ENV_ARG_DECL ) { CosNotifyComm::StructuredPushSupplier_var supplier_ref = - this->_this (TAO_ENV_SINGLE_ARG_PARAMETER); + this->_this (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; CosNotifyChannelAdmin::ProxyConsumer_var proxyconsumer = supplier_admin->obtain_notification_push_consumer ( - CosNotifyChannelAdmin::STRUCTURED_EVENT, - proxy_consumer_id_ - TAO_ENV_ARG_PARAMETER + CosNotifyChannelAdmin::STRUCTURED_EVENT, + proxy_consumer_id_ + ACE_ENV_ARG_PARAMETER ); ACE_CHECK; @@ -54,15 +54,15 @@ TAO_Notify_StructuredPushSupplier::connect ( // Narrow. this->proxy_consumer_ = CosNotifyChannelAdmin::StructuredProxyPushConsumer::_narrow ( - proxyconsumer.in () - TAO_ENV_ARG_PARAMETER + proxyconsumer.in () + ACE_ENV_ARG_PARAMETER ); ACE_CHECK; ACE_ASSERT (!CORBA::is_nil (proxy_consumer_.in ())); proxy_consumer_->connect_structured_push_supplier (supplier_ref.in () - TAO_ENV_ARG_PARAMETER); + ACE_ENV_ARG_PARAMETER); ACE_CHECK; // Give ownership to POA. @@ -70,23 +70,23 @@ TAO_Notify_StructuredPushSupplier::connect ( } void -TAO_Notify_StructuredPushSupplier::disconnect (TAO_ENV_SINGLE_ARG_DECL) +TAO_Notify_StructuredPushSupplier::disconnect (ACE_ENV_SINGLE_ARG_DECL) { ACE_ASSERT (!CORBA::is_nil (this->proxy_consumer_.in ())); this->proxy_consumer_->disconnect_structured_push_consumer ( - TAO_ENV_SINGLE_ARG_PARAMETER + ACE_ENV_SINGLE_ARG_PARAMETER ); ACE_CHECK; - this->deactivate (TAO_ENV_SINGLE_ARG_PARAMETER); + this->deactivate (ACE_ENV_SINGLE_ARG_PARAMETER); } void TAO_Notify_StructuredPushSupplier::subscription_change (const CosNotification::EventTypeSeq & /*added*/, const CosNotification::EventTypeSeq & /*removed */ - TAO_ENV_ARG_DECL_NOT_USED) + ACE_ENV_ARG_DECL_NOT_USED) ACE_THROW_SPEC ((CORBA::SystemException, CosNotifyComm::InvalidEventType)) { @@ -95,48 +95,48 @@ TAO_Notify_StructuredPushSupplier::subscription_change PortableServer::POA_ptr TAO_Notify_StructuredPushSupplier::_default_POA ( - TAO_ENV_SINGLE_ARG_DECL_NOT_USED + ACE_ENV_SINGLE_ARG_DECL_NOT_USED ) { return PortableServer::POA::_duplicate (this->default_POA_.in ()); } void -TAO_Notify_StructuredPushSupplier::deactivate (TAO_ENV_SINGLE_ARG_DECL) +TAO_Notify_StructuredPushSupplier::deactivate (ACE_ENV_SINGLE_ARG_DECL) { PortableServer::POA_var poa = this->_default_POA (); PortableServer::ObjectId_var id = poa->servant_to_id (this - TAO_ENV_ARG_PARAMETER); + ACE_ENV_ARG_PARAMETER); ACE_CHECK; poa->deactivate_object (id.in () - TAO_ENV_ARG_PARAMETER); + ACE_ENV_ARG_PARAMETER); ACE_CHECK; } void TAO_Notify_StructuredPushSupplier::disconnect_structured_push_supplier ( - TAO_ENV_SINGLE_ARG_DECL + ACE_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC ((CORBA::SystemException)) { this->proxy_consumer_->disconnect_structured_push_consumer ( - TAO_ENV_SINGLE_ARG_PARAMETER + ACE_ENV_SINGLE_ARG_PARAMETER ); ACE_CHECK; - this->deactivate (TAO_ENV_SINGLE_ARG_PARAMETER); + this->deactivate (ACE_ENV_SINGLE_ARG_PARAMETER); } void TAO_Notify_StructuredPushSupplier::send_event ( - const CosNotification::StructuredEvent& event - TAO_ENV_ARG_DECL + const CosNotification::StructuredEvent& event + ACE_ENV_ARG_DECL ) { ACE_ASSERT (!CORBA::is_nil (this->proxy_consumer_.in ())); - this->proxy_consumer_->push_structured_event (event TAO_ENV_ARG_PARAMETER); + this->proxy_consumer_->push_structured_event (event ACE_ENV_ARG_PARAMETER); ACE_CHECK; } |