diff options
author | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-03-13 17:32:43 +0000 |
---|---|---|
committer | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-03-13 17:32:43 +0000 |
commit | 9551bf40b239c7a59d405bbac984f48f6f556ebe (patch) | |
tree | 5d118cb51468a6c8f5746853b905208a193b492c /TAO/performance-tests/Throughput | |
parent | 7cddfd814db62d1bcc1a4f8be3c73e53995297de (diff) | |
download | ATCD-9551bf40b239c7a59d405bbac984f48f6f556ebe.tar.gz |
ChangeLogTag: Tue Mar 13 18:24:27 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/performance-tests/Throughput')
-rw-r--r-- | TAO/performance-tests/Throughput/Throughput.mpc | 6 | ||||
-rw-r--r-- | TAO/performance-tests/Throughput/server.cpp | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/TAO/performance-tests/Throughput/Throughput.mpc b/TAO/performance-tests/Throughput/Throughput.mpc index e0baa06c094..febd63f91ed 100644 --- a/TAO/performance-tests/Throughput/Throughput.mpc +++ b/TAO/performance-tests/Throughput/Throughput.mpc @@ -1,14 +1,14 @@ // -*- MPC -*- // $Id$ -project(*idl): taoidldefaults { +project(*idl): taoidldefaults, avoids_corba_e_compact { IDL_Files { Test.idl } custom_only = 1 } -project(*server): taoserver, strategies { +project(*server): taoserver, strategies, avoids_corba_e_compact { after += *idl Source_Files { TestC.cpp @@ -21,7 +21,7 @@ project(*server): taoserver, strategies { } } -project(*client): taoclient, strategies { +project(*client): taoclient, strategies, avoids_corba_e_compact { after += *idl Source_Files { TestC.cpp diff --git a/TAO/performance-tests/Throughput/server.cpp b/TAO/performance-tests/Throughput/server.cpp index aa4c0cbab90..87ca6634d03 100644 --- a/TAO/performance-tests/Throughput/server.cpp +++ b/TAO/performance-tests/Throughput/server.cpp @@ -64,8 +64,13 @@ main (int argc, char *argv[]) 1); PortableServer::ServantBase_var receiver_factory_owner_transfer(receiver_factory_impl); + PortableServer::ObjectId_var id = + root_poa->activate_object (receiver_factory_impl); + + CORBA::Object_var object = root_poa->id_to_reference (id.in ()); + Test::Receiver_Factory_var receiver_factory = - receiver_factory_impl->_this (); + Test::Receiver_Factory::_narrow (object.in ()); CORBA::String_var ior = orb->object_to_string (receiver_factory.in ()); |