diff options
Diffstat (limited to 'TAO/tests/POA/Generic_Servant/MyFooServant.h')
-rw-r--r-- | TAO/tests/POA/Generic_Servant/MyFooServant.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/TAO/tests/POA/Generic_Servant/MyFooServant.h b/TAO/tests/POA/Generic_Servant/MyFooServant.h new file mode 100644 index 00000000000..3b7502cb466 --- /dev/null +++ b/TAO/tests/POA/Generic_Servant/MyFooServant.h @@ -0,0 +1,23 @@ +#if !defined (MYFOOSERVANT_H) +#define MYFOOSERVANT_H + +#include "FooS.h" + +class MyFooServant : public POA_Foo +{ +public: + MyFooServant (PortableServer::POA_ptr poa, + CORBA::Long value); + + virtual ~MyFooServant (void); + + virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); + + virtual CORBA::Long doit (CORBA::Environment &env); + +protected: + PortableServer::POA_var poa_; + CORBA::Long value_; +}; + +#endif /* MYFOOSERVANT_H */ |