diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-16 00:36:33 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-16 00:36:33 +0000 |
commit | 5739d35effc4016df16bed3b2e4e79b312690704 (patch) | |
tree | d87f890f2300992686f9345801969e746edf1ca7 /TAO/examples/Simple/echo/Echo_i.h | |
parent | 6f1d214c0362e077af29393c06337d09bb8b5899 (diff) | |
download | ATCD-5739d35effc4016df16bed3b2e4e79b312690704.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/examples/Simple/echo/Echo_i.h')
-rw-r--r-- | TAO/examples/Simple/echo/Echo_i.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/TAO/examples/Simple/echo/Echo_i.h b/TAO/examples/Simple/echo/Echo_i.h new file mode 100644 index 00000000000..c8214fefde9 --- /dev/null +++ b/TAO/examples/Simple/echo/Echo_i.h @@ -0,0 +1,58 @@ +// -*- 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> +// +// ============================================================================ + +#if !defined (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. + + ~Echo_i (void); + // Destructor. + + virtual char *echo (const char *mesg, + CORBA::Environment &env); + // Return the mesg string back from the server. + + virtual void shutdown (CORBA::Environment &env); + // Shutdown the server. + + void orb (CORBA::ORB_ptr o); + // Set the ORB pointer. + +private: + CORBA::ORB_var orb_; + // ORB pointer. +}; + +#endif /* ECHO_I_H */ |