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
31 Bottom_Impl (CORBA::ORB_ptr orb
);
32 virtual ~Bottom_Impl (void);
34 // IDL Interface Methods
35 virtual char * top_quote (void);
37 virtual char * left_quote (void);
39 virtual char * right_quote (void);
41 virtual char * bottom_quote (void);
43 virtual void shutdown (void);
49 * @class Delegated_Bottom_Impl
51 * @brief Delegated_Bottom_Impl
53 * This class implements the servant for the Bottom interface
54 * which delegates all the request to another Bottom corba object.
55 * This call forwarding is made using different strategy depending
56 * on the option set for the ORB.
58 class Delegated_Bottom_Impl
: public virtual POA_Multiple::Bottom
64 Delegated_Bottom_Impl (Multiple::Bottom_ptr delegate
, CORBA::ORB_ptr orb
);
65 virtual ~Delegated_Bottom_Impl (void);
67 // IDL Interface Methods.
68 virtual char * top_quote (void);
69 virtual char * left_quote (void);
70 virtual char * right_quote (void);
71 virtual char * bottom_quote (void);
73 virtual void shutdown (void);
76 Multiple::Bottom_var delegate_
;
81 #endif /* TAO_MULTIPLE_IMPL_H_ */