Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Cache_Growth_Test / Hello.cpp
blob02e9b557bb50def5bf271d177631763cc3898603
1 #include "Hello.h"
2 #include "tao/ORB_Core.h"
3 #include "tao/Transport_Cache_Manager.h"
4 #include "tao/Thread_Lane_Resources.h"
6 Hello::Hello (CORBA::ORB_ptr orb)
7 : orb_ (CORBA::ORB::_duplicate (orb))
11 char *
12 Hello::get_string (void)
14 if (this->orb_->orb_core ()->lane_resources ().transport_cache ().current_size () > 1)
16 ACE_ERROR ((LM_ERROR,
17 "(%P|%t) The size is growing\n"));
20 return CORBA::string_dup ("Hello there!");
23 void
24 Hello::shutdown (void)
26 this->orb_->shutdown (0);