repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git]
/
TAO
/
tests
/
Bug_3953_Regression
/
client_i.cpp
blob
c25ba3f761f6de3366975abd9bada7359a50611d
1
#include
"client_i.h"
2
3
client_i
::
client_i
(
int
quiet
,
4
server_ptr s
)
5
:
quiet_
(
quiet
),
6
server_
(
server
::
_duplicate
(
s
))
7
{
8
}
9
10
void
11
client_i
::
ping
(
CORBA
::
UShort time_to_live
)
12
{
13
if
(!
this
->
quiet_
)
14
ACE_DEBUG
((
LM_DEBUG
,
15
"(%t) client_i::ping -> time to live = %d
\n
"
,
16
time_to_live
));
17
18
--
time_to_live
;
19
20
if
(
time_to_live
>
0
)
21
{
22
this
->
server_
->
ping
(
time_to_live
);
23
}
24
}