More tests update
[ACE_TAO.git] / TAO / tests / CSD_Collocation / Diamond_i.cpp
blob8210bbff906f05c8bfaf18a40464081ca2239ea8
1 #include "Diamond_i.h"
3 Top_i::Top_i ()
7 Top_i::~Top_i ()
11 char *
12 Top_i::shape (void)
14 return CORBA::string_dup ("a point.");
17 Left_i::Left_i ()
19 // No-op.
22 Left_i::~Left_i ()
24 // No-op.
27 char *
28 Left_i::shape (void)
30 return CORBA::string_dup ("the left line");
33 char *
34 Left_i::color (void)
36 return CORBA::string_dup ("black");
39 Right_i::Right_i ()
43 Right_i::~Right_i ()
47 char *
48 Right_i::shape (void)
50 return CORBA::string_dup ("the right line");
53 char *
54 Right_i::color (void)
56 return CORBA::string_dup ("red");
60 CORBA::Long
61 Right_i::width (void)
63 return 0;
66 Buttom_i::Buttom_i ()
70 Buttom_i::~Buttom_i ()
74 char *
75 Buttom_i::shape (void)
77 ACE_DEBUG ((LM_DEBUG, "(%P|%t) In servant\n"));
78 return CORBA::string_dup ("a diamond");
81 char *
82 Buttom_i::color (void)
84 return CORBA::string_dup ("translucent");
87 CORBA::Long
88 Buttom_i::width (void)
90 return 100;
93 char *
94 Buttom_i::name (void)
96 return CORBA::string_dup ("Jubilee");