summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Simple/server_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/NestedUpcall/Simple/server_i.cpp')
-rw-r--r--TAO/tests/NestedUpcall/Simple/server_i.cpp20
1 files changed, 6 insertions, 14 deletions
diff --git a/TAO/tests/NestedUpcall/Simple/server_i.cpp b/TAO/tests/NestedUpcall/Simple/server_i.cpp
index 6e6a9b7ade4..1a93ac4f244 100644
--- a/TAO/tests/NestedUpcall/Simple/server_i.cpp
+++ b/TAO/tests/NestedUpcall/Simple/server_i.cpp
@@ -11,21 +11,17 @@ server_i::server_i (int quiet,
void
server_i::start (client_ptr c,
- CORBA::UShort time_to_live
- ACE_ENV_ARG_DECL)
+ CORBA::UShort time_to_live)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->client_ = client::_duplicate (c);
- this->ping (time_to_live
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
+ this->ping (time_to_live);
return;
}
void
-server_i::ping (CORBA::UShort time_to_live
- ACE_ENV_ARG_DECL)
+server_i::ping (CORBA::UShort time_to_live)
ACE_THROW_SPEC ((CORBA::SystemException))
{
if (!this->quiet_)
@@ -37,17 +33,13 @@ server_i::ping (CORBA::UShort time_to_live
if (time_to_live > 0)
{
- this->client_->ping (time_to_live
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
+ this->client_->ping (time_to_live);
}
}
void
-server_i::shutdown (ACE_ENV_SINGLE_ARG_DECL)
+server_i::shutdown (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- this->orb_->shutdown (0
- ACE_ENV_ARG_PARAMETER);
- ACE_CHECK;
+ this->orb_->shutdown (0);
}