1 //=============================================================================
3 * @file Multiple_Impl.h
5 * This file contains the servant implementation used to test the
6 * new collocation collocation scheme.
8 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
10 //=============================================================================
12 #ifndef TAO_MULTIPLE_IMPL_H_
13 #define TAO_MULTIPLE_IMPL_H_
15 // -- App. Specific Include --
16 #include "MultipleS.h"
23 * This class implements the servant for the Bottom interface
24 * defined in the IDL file.
26 class Bottom_Impl
: public virtual POA_Multiple::Bottom
30 Bottom_Impl (CORBA::ORB_ptr orb
);
31 virtual ~Bottom_Impl ();
33 // IDL Interface Methods
34 virtual char * top_quote ();
36 virtual char * left_quote ();
38 virtual char * right_quote ();
40 virtual char * bottom_quote ();
42 virtual void shutdown ();
48 * @class Delegated_Bottom_Impl
50 * @brief Delegated_Bottom_Impl
52 * This class implements the servant for the Bottom interface
53 * which delegates all the request to another Bottom corba object.
54 * This call forwarding is made using different strategy depending
55 * on the option set for the ORB.
57 class Delegated_Bottom_Impl
: public virtual POA_Multiple::Bottom
61 Delegated_Bottom_Impl (Multiple::Bottom_ptr delegate
, CORBA::ORB_ptr orb
);
62 virtual ~Delegated_Bottom_Impl ();
64 // IDL Interface Methods.
65 virtual char * top_quote ();
66 virtual char * left_quote ();
67 virtual char * right_quote ();
68 virtual char * bottom_quote ();
70 virtual void shutdown ();
73 Multiple::Bottom_var delegate_
;
77 #endif /* TAO_MULTIPLE_IMPL_H_ */