summaryrefslogtreecommitdiff
path: root/TAO/tests
diff options
context:
space:
mode:
authorpgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-16 19:45:33 +0000
committerpgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-16 19:45:33 +0000
commit97cb2997faa184107e58c8238ce6ab8e91fbfaae (patch)
tree4b5358327be5aa04d1fa50e85961b9fb9297e90e /TAO/tests
parent312205d8807990937212645ae9bf072799d6df6a (diff)
downloadATCD-97cb2997faa184107e58c8238ce6ab8e91fbfaae.tar.gz
ChangeLogTag: Wed Jan 16 11:38:21 2002 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/tests')
-rw-r--r--TAO/tests/ORT/server.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/TAO/tests/ORT/server.cpp b/TAO/tests/ORT/server.cpp
index 46614b57cfc..d243d53af9e 100644
--- a/TAO/tests/ORT/server.cpp
+++ b/TAO/tests/ORT/server.cpp
@@ -53,7 +53,7 @@ int main (int argc, char *argv[])
orb_initializer;
PortableInterceptor::register_orb_initializer (orb_initializer_var.in ()
- TAO_ENV_ARG_DECL);
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
#endif /* TAO_HAS_INTERCEPTORS == 1 */
@@ -62,7 +62,7 @@ int main (int argc, char *argv[])
CORBA::ORB_var orb = CORBA::ORB_init (argc,
argv,
""
- TAO_ENV_ARG_DECL);
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
if (parse_args (argc, argv) != 0)
@@ -70,13 +70,13 @@ int main (int argc, char *argv[])
CORBA::Object_var obj =
orb->resolve_initial_references ("RootPOA"
- TAO_ENV_ARG_DECL);
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
/// Narrow
PortableServer::POA_var root_poa =
PortableServer::POA::_narrow (obj.in ()
- TAO_ENV_ARG_DECL);
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
/// Check for nil references
@@ -87,11 +87,11 @@ int main (int argc, char *argv[])
/// Get poa_manager reference
PortableServer::POAManager_var poa_manager =
- root_poa->the_POAManager (TAO_ENV_ARG_DECL);
+ root_poa->the_POAManager (TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
/// Activate it.
- poa_manager->activate (TAO_ENV_ARG_DECL);
+ poa_manager->activate (TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
///@}
@@ -124,40 +124,40 @@ int main (int argc, char *argv[])
root_poa->create_POA ("FIRST_POA",
poa_manager.in (),
policies
- TAO_ENV_ARG_DECL);
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
PortableServer::POA_var second_poa =
root_poa->create_POA ("SECOND_POA",
poa_manager.in (),
policies
- TAO_ENV_ARG_DECL);
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
PortableServer::POA_var third_poa =
first_poa->create_POA ("THIRD_POA",
poa_manager.in (),
policies
- TAO_ENV_ARG_DECL);
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
PortableServer::POA_var fourth_poa =
second_poa->create_POA ("FOURTH_POA",
poa_manager.in (),
policies
- TAO_ENV_ARG_DECL);
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
ORT_test_i ort_test_impl;
/// Activate
- obj = ort_test_impl._this (TAO_ENV_ARG_DECL);
+ obj = ort_test_impl._this (TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
/// Narrow it down.
ObjectReferenceTemplate::ORT_test_var ort_test =
ObjectReferenceTemplate::ORT_test::_narrow (obj.in ()
- TAO_ENV_ARG_DECL);
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
/// Check for nil reference
@@ -170,7 +170,7 @@ int main (int argc, char *argv[])
/// Convert the object reference to a string format.
CORBA::String_var ior =
- orb->object_to_string (ort_test.in () TAO_ENV_ARG_DECL);
+ orb->object_to_string (ort_test.in () TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
/// If the ior_output_file exists, output the IOR to it.
@@ -187,7 +187,7 @@ int main (int argc, char *argv[])
ACE_OS::fclose (output_file);
}
- orb->run (TAO_ENV_ARG_DECL);
+ orb->run (TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY