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/tests/Oneways_Invoking_Twoways/client.cpp | |
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/tests/Oneways_Invoking_Twoways/client.cpp')
-rw-r--r-- | TAO/tests/Oneways_Invoking_Twoways/client.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tests/Oneways_Invoking_Twoways/client.cpp b/TAO/tests/Oneways_Invoking_Twoways/client.cpp index a0f87129eab..6222cdd906f 100644 --- a/TAO/tests/Oneways_Invoking_Twoways/client.cpp +++ b/TAO/tests/Oneways_Invoking_Twoways/client.cpp @@ -83,8 +83,13 @@ main (int argc, char *argv[]) PortableServer::ServantBase_var receiver_owner_transfer(receiver_impl); + PortableServer::ObjectId_var id = + root_poa->activate_object (receiver_impl); + + CORBA::Object_var object = root_poa->id_to_reference (id.in ()); + Test::Receiver_var receiver = - receiver_impl->_this (); + Test::Receiver::_narrow (object.in ()); // Activate poa manager poa_manager->activate (); |