2 //=============================================================================
4 * @file MT_Object_i.cpp
6 * This class implements the Object A of the
7 * Nested Upcalls - MT Client test.
9 * @author Michael Kircher
11 //=============================================================================
13 #include "MT_Object_i.h"
15 #include "tao/Exception.h"
17 #define MAX_HOP_COUNT 20
20 MT_Object_i::MT_Object_i (void)
25 MT_Object_i::~MT_Object_i (void)
31 MT_Object_i::yadda (CORBA::Long hop_count
,
32 MT_Object_ptr partner
)
36 "(%P|%t) MT_Object_i::yadda () hop count = %d\n",
40 if (hop_count
< MAX_HOP_COUNT
)
43 return partner
->yadda (hop_count
+ 1,