summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify
diff options
context:
space:
mode:
authorpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-04 13:12:15 +0000
committerpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-04 13:12:15 +0000
commitc896cc9e8fb59c458b0a9dda16eefdf70a87daa1 (patch)
tree23e947efb02585b8ea21508d248d81c37e50f879 /TAO/orbsvcs/tests/Notify
parent01182b48fc8be077d7353c0c5e53b4e2694820c3 (diff)
downloadATCD-c896cc9e8fb59c458b0a9dda16eefdf70a87daa1.tar.gz
ChangeLogTag: Thu Apr 04 07:06:33 2003 Pradeep Gore <pradeep@oomworks.com>
Diffstat (limited to 'TAO/orbsvcs/tests/Notify')
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp6
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp5
2 files changed, 11 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp b/TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp
index aac14f86134..6759b39ae83 100644
--- a/TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp
@@ -255,6 +255,8 @@ TAO_NS_Periodic_Consumer_Command::handle_deactivate (ACE_ENV_SINGLE_ARG_DECL)
void
TAO_NS_Periodic_Consumer_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL)
{
+#if (TAO_HAS_MINIMUM_CORBA == 0)
+
TAO_NS_Periodic_Consumer* consumer = this->consumer ();
if (consumer == 0)
@@ -285,6 +287,10 @@ TAO_NS_Periodic_Consumer_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL)
ACE_DEBUG ((LM_DEBUG, "Consumeris_equivanent other exception.", this->name_.c_str ()));
}
ACE_ENDTRY;
+
+#else
+ return;
+#endif /* TAO_HAS_MINIMUM_CORBA */
}
void
diff --git a/TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp b/TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp
index 2e991be0cd5..cbbadabd956 100644
--- a/TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp
@@ -240,6 +240,8 @@ TAO_NS_Periodic_Supplier_Command::handle_deactivate (ACE_ENV_SINGLE_ARG_DECL)
void
TAO_NS_Periodic_Supplier_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL)
{
+#if (TAO_HAS_MINIMUM_CORBA == 0)
+
TAO_NS_Periodic_Supplier* supplier = this->supplier ();
if (supplier == 0)
@@ -270,6 +272,9 @@ TAO_NS_Periodic_Supplier_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL)
ACE_DEBUG ((LM_DEBUG, "Supplieris_equivanent other exception.", this->name_.c_str ()));
}
ACE_ENDTRY;
+#else
+ return;
+#endif /* TAO_HAS_MINIMUM_CORBA */
}
void