summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Structured/RT_StructuredProxyPushSupplier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Structured/RT_StructuredProxyPushSupplier.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Structured/RT_StructuredProxyPushSupplier.cpp20
1 files changed, 16 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Structured/RT_StructuredProxyPushSupplier.cpp b/TAO/orbsvcs/orbsvcs/Notify/Structured/RT_StructuredProxyPushSupplier.cpp
index 65fcee019a1..991d872ed41 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Structured/RT_StructuredProxyPushSupplier.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/Structured/RT_StructuredProxyPushSupplier.cpp
@@ -32,9 +32,9 @@ TAO_NS_RT_StructuredProxyPushSupplier::activate (PortableServer::Servant servant
}
void
-TAO_NS_RT_StructuredProxyPushSupplier::push (const TAO_NS_Event_var &event)
+TAO_NS_RT_StructuredProxyPushSupplier::push (const TAO_NS_Event* event ACE_ENV_ARG_DECL)
{
- ACE_TRY_NEW_ENV
+ ACE_TRY
{
event->push (this->event_forwarder_.in () ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
@@ -51,9 +51,9 @@ TAO_NS_RT_StructuredProxyPushSupplier::push (const TAO_NS_Event_var &event)
}
void
-TAO_NS_RT_StructuredProxyPushSupplier::push_no_filtering (const TAO_NS_Event_var &event)
+TAO_NS_RT_StructuredProxyPushSupplier::push_no_filtering (const TAO_NS_Event* event ACE_ENV_ARG_DECL)
{
- ACE_TRY_NEW_ENV
+ ACE_TRY
{
event->push_no_filtering (this->event_forwarder_.in () ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
@@ -68,3 +68,15 @@ TAO_NS_RT_StructuredProxyPushSupplier::push_no_filtering (const TAO_NS_Event_var
}
ACE_ENDTRY;
}
+
+void
+TAO_NS_RT_StructuredProxyPushSupplier::push (const TAO_NS_Event_var &event ACE_ENV_ARG_DECL)
+{
+ this->push (event.get () ACE_ENV_ARG_PARAMETER);
+}
+
+void
+TAO_NS_RT_StructuredProxyPushSupplier::push_no_filtering (const TAO_NS_Event_var &event ACE_ENV_ARG_DECL)
+{
+ this->push_no_filtering (event.get () ACE_ENV_ARG_PARAMETER);
+}