Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / MProfile_Connection_Timeout / test_i.cpp
blobddd48f6c45df37475de0cdad1a64c44e038af8a8
1 // -*- C++ -*-
2 #include "test_i.h"
4 // part of the famous caesium 133 atom transition for a
5 // second. Cannot represent the last part since the value gets out of
6 // range.
7 const CORBA::ULong freq = 919263;
9 Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb)
10 : orb_ (CORBA::ORB::_duplicate (orb))
14 Simple_Server_i::Simple_Server_i ()
15 : orb_ (0)
19 CORBA::ULongLong
20 Simple_Server_i::remote_call ()
22 ACE_DEBUG ((LM_DEBUG,
23 "Print out from process id (%P) hosting the servant\n"));
25 return freq;
29 void
30 Simple_Server_i::shutdown ()
32 this->orb_->shutdown (false);