summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/lib/Notify_SequencePushSupplier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/Notify_SequencePushSupplier.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Notify_SequencePushSupplier.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Notify_SequencePushSupplier.cpp b/TAO/orbsvcs/tests/Notify/lib/Notify_SequencePushSupplier.cpp
index 07b8d7f0c2f..161d348c501 100644
--- a/TAO/orbsvcs/tests/Notify/lib/Notify_SequencePushSupplier.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/Notify_SequencePushSupplier.cpp
@@ -20,7 +20,7 @@ TAO_Notify_SequencePushSupplier::~TAO_Notify_SequencePushSupplier ()
void
TAO_Notify_SequencePushSupplier::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_SequencePushSupplier::get_proxy_consumer (void)
void
TAO_Notify_SequencePushSupplier::connect (
- CosNotifyChannelAdmin::SupplierAdmin_ptr supplier_admin
- TAO_ENV_ARG_DECL
+ CosNotifyChannelAdmin::SupplierAdmin_ptr supplier_admin
+ ACE_ENV_ARG_DECL
)
{
CosNotifyComm::SequencePushSupplier_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::SEQUENCE_EVENT,
- proxy_consumer_id_
- TAO_ENV_ARG_PARAMETER
+ CosNotifyChannelAdmin::SEQUENCE_EVENT,
+ proxy_consumer_id_
+ ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
@@ -54,15 +54,15 @@ TAO_Notify_SequencePushSupplier::connect (
// Narrow.
this->proxy_consumer_ =
CosNotifyChannelAdmin::SequenceProxyPushConsumer::_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_sequence_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_SequencePushSupplier::connect (
}
void
-TAO_Notify_SequencePushSupplier::disconnect (TAO_ENV_SINGLE_ARG_DECL)
+TAO_Notify_SequencePushSupplier::disconnect (ACE_ENV_SINGLE_ARG_DECL)
{
ACE_ASSERT (!CORBA::is_nil (this->proxy_consumer_.in ()));
this->proxy_consumer_->disconnect_sequence_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_SequencePushSupplier::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,54 +95,54 @@ TAO_Notify_SequencePushSupplier::subscription_change
PortableServer::POA_ptr
TAO_Notify_SequencePushSupplier::_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_SequencePushSupplier::deactivate (TAO_ENV_SINGLE_ARG_DECL)
+TAO_Notify_SequencePushSupplier::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_SequencePushSupplier::disconnect_sequence_push_supplier (
- TAO_ENV_SINGLE_ARG_DECL
+ ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((
CORBA::SystemException
))
{
this->proxy_consumer_->disconnect_sequence_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_SequencePushSupplier::send_events (
- const CosNotification::EventBatch & notifications
- TAO_ENV_ARG_DECL
+ const CosNotification::EventBatch & notifications
+ ACE_ENV_ARG_DECL
)
{
ACE_ASSERT (!CORBA::is_nil (this->proxy_consumer_.in ()));
this->proxy_consumer_->push_structured_events (
- notifications
- TAO_ENV_ARG_PARAMETER
+ notifications
+ ACE_ENV_ARG_PARAMETER
);
ACE_CHECK;
}