diff options
Diffstat (limited to 'TAO/tests/Bug_3683_Regression/Echo_i.h')
-rw-r--r-- | TAO/tests/Bug_3683_Regression/Echo_i.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/TAO/tests/Bug_3683_Regression/Echo_i.h b/TAO/tests/Bug_3683_Regression/Echo_i.h new file mode 100644 index 00000000000..b048eeb8357 --- /dev/null +++ b/TAO/tests/Bug_3683_Regression/Echo_i.h @@ -0,0 +1,63 @@ +// -*- C++ -*- +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/tests/Simple/echo +// +// = FILENAME +// Echo_i.h +// +// = DESCRIPTION +// This class implements the Echo IDL interface. +// +// = AUTHOR +// Kirthika Parameswaran <kirthika@cs.wustl.edu> +// +// ============================================================================ + +#ifndef ECHO_I_H +#define ECHO_I_H + +#include "EchoS.h" + +class Echo_i : public POA_Echo +{ + // = TITLE + // Echo Object Implementation + // + // = DESCRIPTION + // The object implementation performs teh following functions: + // -- To return the string which needs to be displayed + // from the server. + // -- shuts down the server +public: + // = Initialization and termination methods. + Echo_i (void); + // Constructor. + + virtual ~Echo_i (void); + // Destructor. + + virtual Echo::List *echo_list (const char *mesg); + // Return the mesg string back from the server. + + virtual char *echo_string (const char *mesg); + // Return the mesg string back from the server. + + virtual void shutdown (void); + // Shutdown the server. + + void orb (CORBA::ORB_ptr o); + // Set the ORB pointer. + +private: + CORBA::ORB_var orb_; + // ORB pointer. + + ACE_UNIMPLEMENTED_FUNC (void operator= (const Echo_i&)) + // Keeping g++ 2.7.2 happy.. +}; + +#endif /* ECHO_I_H */ |