diff options
Diffstat (limited to 'ACE/TAO/performance-tests/Pluggable/PP_Test_i.h')
-rw-r--r-- | ACE/TAO/performance-tests/Pluggable/PP_Test_i.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/ACE/TAO/performance-tests/Pluggable/PP_Test_i.h b/ACE/TAO/performance-tests/Pluggable/PP_Test_i.h new file mode 100644 index 00000000000..51e7c8b4b4a --- /dev/null +++ b/ACE/TAO/performance-tests/Pluggable/PP_Test_i.h @@ -0,0 +1,72 @@ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/performance-tests/Pluggable +// +// = FILENAME +// PP_Test_i.h +// +// = AUTHOR +// Jeff Parsons <parsons@cs.wustl.edu> +// +// ============================================================================ + +#ifndef _PP_TEST_I_H +#define _PP_TEST_I_H + +#include "PP_TestS.h" + +class PP_Test_i : public POA_Pluggable_Test +{ + // = TITLE + // Illustrates how to integrate a servant with the generated + // skeleton. + // + // = DESCRIPTION + // Implementation of the example at the servant side. + // Sends a no-op oneway and twoway request. +public: + PP_Test_i (CORBA::ORB_ptr orb); + // Constructor + + ~PP_Test_i (void); + // Destructor + + virtual void send_oneway (void); + // Test a oneway call. + + virtual void send_void (void); + // Test a twoway call. + + virtual void shutdown (void); + // Shutdown routine. + +protected: + CORBA::ORB_var orb_; + // Keep a pointer to the ORB so we can shut it down. +}; + +class Pluggable_Test_Factory_i: public POA_Pluggable_Test_Factory +{ + // = TITLE + // Pluggable_Test_Factory_i + // + // = DESCRIPTION + // Factory object returning the Pluggable_Test objrefs +public: + Pluggable_Test_Factory_i (CORBA::ORB_ptr orb); + // Constructor. + + ~Pluggable_Test_Factory_i (void); + // Destructor. + + virtual Pluggable_Test_ptr make_pluggable_test (void); + // Make a Pluggable Test object. + +private: + PP_Test_i my_pluggable_test_; +}; + +#endif /* _PP_TEST_I_H */ |