1 #include "Multiple_Impl.h"
2 #include "Collocation_Tester.h"
4 ///////////////////////////////////////////////////////////
5 // Bottom_Impl Implementation
8 Bottom_Impl::Bottom_Impl (CORBA::ORB_ptr orb
)
10 this->orb_
= CORBA::ORB::_duplicate (orb
);
13 Bottom_Impl::~Bottom_Impl (void)
19 Bottom_Impl::top_quote ( )
21 return CORBA::string_dup(Quote::top
);
25 Bottom_Impl::left_quote ( )
27 return CORBA::string_dup(Quote::left
);
31 Bottom_Impl::right_quote ( )
33 return CORBA::string_dup(Quote::right
);
37 Bottom_Impl::bottom_quote ( )
39 return CORBA::string_dup(Quote::bottom
);
43 Bottom_Impl::shutdown (void)
45 this->orb_
->shutdown (0);
48 ///////////////////////////////////////////////////////////
49 // Delegated_Bottom_Impl Implementation
51 Delegated_Bottom_Impl::Delegated_Bottom_Impl (Multiple::Bottom_ptr delegate
,
53 : delegate_ (delegate
)
55 this->orb_
= CORBA::ORB::_duplicate (orb
);
58 Delegated_Bottom_Impl::~Delegated_Bottom_Impl (void)
64 Delegated_Bottom_Impl::top_quote (void)
67 ACE_TEXT ("Delegating the call: <top_quote>\n")));
69 CORBA::String_var msg
=
70 this->delegate_
->top_quote ();
75 Delegated_Bottom_Impl::left_quote (void)
78 ACE_TEXT ("Delegating the call: <left_quote>\n")));
80 CORBA::String_var msg
=
81 this->delegate_
->left_quote ();
86 Delegated_Bottom_Impl::right_quote (void)
89 ACE_TEXT ("Delegating the call: <right_quote>\n")));
91 CORBA::String_var msg
=
92 this->delegate_
->right_quote ();
97 Delegated_Bottom_Impl::bottom_quote (void)
100 ACE_TEXT ("Delegating the call: <bottom_quote>\n")));
102 CORBA::String_var msg
=
103 this->delegate_
->bottom_quote ();
108 Delegated_Bottom_Impl::shutdown (void)
110 ACE_DEBUG ((LM_DEBUG
,
111 ACE_TEXT ("Delegating Shut-Down.\n")));
112 this->delegate_
->shutdown ();
113 //this->orb_->shutdown (0);