diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Event/UDP/Supplier.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Event/UDP/Supplier.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/TAO/orbsvcs/tests/Event/UDP/Supplier.cpp b/TAO/orbsvcs/tests/Event/UDP/Supplier.cpp index 8cdb64a3ca5..9a1888df558 100644 --- a/TAO/orbsvcs/tests/Event/UDP/Supplier.cpp +++ b/TAO/orbsvcs/tests/Event/UDP/Supplier.cpp @@ -4,6 +4,8 @@ #include "orbsvcs/RtecEventChannelAdminS.h" #include "orbsvcs/Event_Service_Constants.h" +#include "TestC.h" + ACE_RCSID (EC_Examples, Supplier, "$Id$") @@ -65,12 +67,6 @@ Supplier::disconnect (ACE_ENV_SINGLE_ARG_DECL) } void -Supplier::insert_into_any (CORBA::Any& any, Components::EventBase* vb) -{ - any <<= vb; -} - -void Supplier::perform_push (ACE_ENV_SINGLE_ARG_DECL) { ACE_TRY @@ -87,10 +83,10 @@ Supplier::perform_push (ACE_ENV_SINGLE_ARG_DECL) if (this->valuetype_) { - OBV_Hello::ValueTypeData * test_data = 0; - ACE_NEW (test_data, OBV_Hello::ValueTypeData ()); + OBV_ValueTypeData * test_data = 0; + ACE_NEW (test_data, OBV_ValueTypeData ()); test_data->data ("ACE/TAO/CIAO"); - insert_into_any (event[0].data.any_value, test_data); + event[0].data.any_value <<= test_data; } else { |