summaryrefslogtreecommitdiff
path: root/TAO/CIAO/examples
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/examples')
-rw-r--r--TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp8
-rw-r--r--TAO/CIAO/examples/UAV/Satellite/controller.cpp1
-rw-r--r--TAO/CIAO/examples/UAV/descriptors/two_host.dat4
3 files changed, 7 insertions, 6 deletions
diff --git a/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp b/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp
index 18a2d45b304..37ab3415f17 100644
--- a/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp
+++ b/TAO/CIAO/examples/UAV/Satellite/Satellite_exec.cpp
@@ -29,7 +29,7 @@ ACE_THROW_SPEC ((CORBA::SystemException))
static int count = 0;
ACE_hrtime_t end = ACE_OS::gethrtime ();
- //ACE_DEBUG ((LM_DEBUG, "UAV RTT = %i\n", end - start_));
+ ACE_DEBUG ((LM_DEBUG, "UAV RTT = %i\n", end - start_));
this->UAV_times_[count++] = end - this->start_;
@@ -43,7 +43,7 @@ ACE_THROW_SPEC ((CORBA::SystemException))
static int count = 0;
ACE_hrtime_t end = ACE_OS::gethrtime ();
- //ACE_DEBUG ((LM_DEBUG, "UCAV RTT = %i\n", end - start_));
+ ACE_DEBUG ((LM_DEBUG, "UCAV RTT = %i\n", end - start_));
this->UCAV_times_[count++] = end - this->start_;
}
@@ -55,7 +55,7 @@ ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_hrtime_t end = ACE_OS::gethrtime ();
- //ACE_DEBUG ((LM_DEBUG, "Battle RTT = %i\n", end - start_));
+ ACE_DEBUG ((LM_DEBUG, "Battle RTT = %i\n", end - start_));
this->Battle_times_[this->counter_] = end - this->start_;
@@ -104,7 +104,7 @@ MyImpl::Satellite_exec_i::alert (ACE_ENV_SINGLE_ARG_DECL)
{
this->start_ = ACE_OS::gethrtime ();
this->context_->push_target_located (ev.in ()
- ACE_ENV_ARG_PARAMETER);
+ ACE_ENV_ARG_PARAMETER);
}
}
diff --git a/TAO/CIAO/examples/UAV/Satellite/controller.cpp b/TAO/CIAO/examples/UAV/Satellite/controller.cpp
index e6ba5c27f82..2d0a81a82ad 100644
--- a/TAO/CIAO/examples/UAV/Satellite/controller.cpp
+++ b/TAO/CIAO/examples/UAV/Satellite/controller.cpp
@@ -73,6 +73,7 @@ main (int argc, char *argv[])
for (int i = 0; i < 1001; ++i)
{
sat->alert (ACE_ENV_SINGLE_ARG_PARAMETER);
+ std::cerr << "Pushed fine... " << std::endl;
ACE_TRY_CHECK;
}
diff --git a/TAO/CIAO/examples/UAV/descriptors/two_host.dat b/TAO/CIAO/examples/UAV/descriptors/two_host.dat
index 47c14f837e7..6abf4efa7fe 100644
--- a/TAO/CIAO/examples/UAV/descriptors/two_host.dat
+++ b/TAO/CIAO/examples/UAV/descriptors/two_host.dat
@@ -1,2 +1,2 @@
-CAOCHost corbaloc:iiop:pc105.emulab.net:20000/ServerActivator
-SatelliteHost corbaloc:iiop:pc143.emulab.net:20000/ServerActivator
+CAOCHost corbaloc:iiop:pc106.emulab.net:20000/ServerActivator
+SatelliteHost corbaloc:iiop:pc151.emulab.net:20000/ServerActivator