summaryrefslogtreecommitdiff
path: root/CIAO/performance-tests/Benchmark/RoundTripServer/LatencyTest.cpp
blob: 202b95a0ddbe0059ce44b8e4572df2c51b784ea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "LatencyTest.h"
#include "ace/Log_Msg.h"

LatencyTest_Impl::LatencyTest_Impl (CORBA::ORB_ptr orb)
  : orb_ (CORBA::ORB::_duplicate (orb))
{
}

CORBA::Long
LatencyTest_Impl::makeCall (CORBA::Long send_time)
{
  ACE_DEBUG ((LM_DEBUG, "Sending Time back\n"));

  return send_time;
}

void
LatencyTest_Impl::shutdown ()
{
  this->orb_->shutdown (0);
}