Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_3953_Regression / client_i.cpp
blobc25ba3f761f6de3366975abd9bada7359a50611d
1 #include "client_i.h"
3 client_i::client_i (int quiet,
4 server_ptr s)
5 : quiet_ (quiet),
6 server_ (server::_duplicate (s))
10 void
11 client_i::ping (CORBA::UShort time_to_live)
13 if (!this->quiet_)
14 ACE_DEBUG ((LM_DEBUG,
15 "(%t) client_i::ping -> time to live = %d\n",
16 time_to_live));
18 --time_to_live;
20 if (time_to_live > 0)
22 this->server_->ping (time_to_live);