Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_3683_Regression / Echo_i.h
blob6160644d8b98da9cd1c8eab9f1d73739b908b523
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Echo_i.h
7 * This class implements the Echo IDL interface.
9 * @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
11 //=============================================================================
14 #ifndef ECHO_I_H
15 #define ECHO_I_H
17 #include "EchoS.h"
19 /**
20 * @class Echo_i
22 * @brief Echo Object Implementation
24 * The object implementation performs teh following functions:
25 * -- To return the string which needs to be displayed
26 * from the server.
27 * -- shuts down the server
29 class Echo_i : public POA_Echo
31 public:
32 /// Constructor.
33 Echo_i ();
35 /// Destructor.
36 virtual ~Echo_i ();
38 /// Return the mesg string back from the server.
39 virtual Echo::List *echo_list (const char *mesg);
41 /// Return the mesg string back from the server.
42 virtual char *echo_string (const char *mesg);
44 /// Shutdown the server.
45 virtual void shutdown ();
47 /// Set the ORB pointer.
48 void orb (CORBA::ORB_ptr o);
50 private:
51 /// ORB pointer.
52 CORBA::ORB_var orb_;
54 void operator= (const Echo_i&);
57 #endif /* ECHO_I_H */