//
// Roundtrip.cpp,v 1.4 2004/01/11 05:06:02 bala Exp
//
#include "Roundtrip.h"

ACE_RCSID(Single_Per_Connection_Latency, Roundtrip, "Roundtrip.cpp,v 1.4 2004/01/11 05:06:02 bala Exp")

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

Test::Timestamp
Roundtrip::test_method (Test::Timestamp send_time
                        ACE_ENV_ARG_DECL_NOT_USED)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  return send_time;
}

void
Roundtrip::shutdown (ACE_ENV_SINGLE_ARG_DECL)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  this->orb_->shutdown (1 ACE_ENV_ARG_PARAMETER);
}
