Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / MProfile_Connection_Timeout / test_i.cpp
blobf6823143bf72dbaed426da064ff141bf84be4d78
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)),
11 val_ (1)
15 Simple_Server_i::Simple_Server_i (void)
16 : orb_ (0)
20 CORBA::ULongLong
21 Simple_Server_i::remote_call (void)
23 ACE_DEBUG ((LM_DEBUG,
24 "Print out from process id (%P) hosting the servant\n"));
26 return freq;
30 void
31 Simple_Server_i::shutdown (void)
33 this->orb_->shutdown (0);