Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / performance-tests / Pluggable / PP_Test_i.h
blobf6d78fcca71b2aca635d16b38a3ebcfaf9c92155
2 //=============================================================================
3 /**
4 * @file PP_Test_i.h
6 * @author Jeff Parsons <parsons@cs.wustl.edu>
7 */
8 //=============================================================================
11 #ifndef _PP_TEST_I_H
12 #define _PP_TEST_I_H
14 #include "PP_TestS.h"
16 /**
17 * @class PP_Test_i
19 * @brief Illustrates how to integrate a servant with the generated
20 * skeleton.
22 * Implementation of the example at the servant side.
23 * Sends a no-op oneway and twoway request.
25 class PP_Test_i : public POA_Pluggable_Test
27 public:
28 /// Constructor
29 PP_Test_i (CORBA::ORB_ptr orb);
31 /// Destructor
32 ~PP_Test_i (void);
34 /// Test a oneway call.
35 virtual void send_oneway (void);
37 /// Test a twoway call.
38 virtual void send_void (void);
40 /// Shutdown routine.
41 virtual void shutdown (void);
43 protected:
44 /// Keep a pointer to the ORB so we can shut it down.
45 CORBA::ORB_var orb_;
48 /**
49 * @class Pluggable_Test_Factory_i:
51 * @brief Pluggable_Test_Factory_i
53 * Factory object returning the Pluggable_Test objrefs
55 class Pluggable_Test_Factory_i: public POA_Pluggable_Test_Factory
57 public:
58 /// Constructor.
59 Pluggable_Test_Factory_i (CORBA::ORB_ptr orb);
61 /// Destructor.
62 ~Pluggable_Test_Factory_i (void);
64 /// Make a Pluggable Test object.
65 virtual Pluggable_Test_ptr make_pluggable_test (void);
67 private:
68 PP_Test_i my_pluggable_test_;
71 #endif /* _PP_TEST_I_H */