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 ()
18 Bottom_Impl::top_quote ()
20 return CORBA::string_dup(Quote::top
);
24 Bottom_Impl::left_quote ()
26 return CORBA::string_dup(Quote::left
);
30 Bottom_Impl::right_quote ()
32 return CORBA::string_dup(Quote::right
);
36 Bottom_Impl::bottom_quote ()
38 return CORBA::string_dup(Quote::bottom
);
42 Bottom_Impl::shutdown ()
44 this->orb_
->shutdown (false);
47 ///////////////////////////////////////////////////////////
48 // Delegated_Bottom_Impl Implementation
50 Delegated_Bottom_Impl::Delegated_Bottom_Impl (Multiple::Bottom_ptr delegate
,
52 : delegate_ (delegate
)
54 this->orb_
= CORBA::ORB::_duplicate (orb
);
57 Delegated_Bottom_Impl::~Delegated_Bottom_Impl ()
63 Delegated_Bottom_Impl::top_quote ()
66 ACE_TEXT ("Delegating the call: <top_quote>\n")));
68 CORBA::String_var msg
=
69 this->delegate_
->top_quote ();
74 Delegated_Bottom_Impl::left_quote ()
77 ACE_TEXT ("Delegating the call: <left_quote>\n")));
79 CORBA::String_var msg
=
80 this->delegate_
->left_quote ();
85 Delegated_Bottom_Impl::right_quote ()
88 ACE_TEXT ("Delegating the call: <right_quote>\n")));
90 CORBA::String_var msg
=
91 this->delegate_
->right_quote ();
96 Delegated_Bottom_Impl::bottom_quote ()
99 ACE_TEXT ("Delegating the call: <bottom_quote>\n")));
101 CORBA::String_var msg
=
102 this->delegate_
->bottom_quote ();
107 Delegated_Bottom_Impl::shutdown ()
109 ACE_DEBUG ((LM_DEBUG
,
110 ACE_TEXT ("Delegating Shut-Down.\n")));
111 this->delegate_
->shutdown ();
112 //this->orb_->shutdown (false);