diff options
Diffstat (limited to 'TAO/examples/POA/Generic_Servant/MyFooServant.h')
-rw-r--r-- | TAO/examples/POA/Generic_Servant/MyFooServant.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/TAO/examples/POA/Generic_Servant/MyFooServant.h b/TAO/examples/POA/Generic_Servant/MyFooServant.h deleted file mode 100644 index 7f92aa0c7e8..00000000000 --- a/TAO/examples/POA/Generic_Servant/MyFooServant.h +++ /dev/null @@ -1,63 +0,0 @@ -// $Id$ -//============================================================================= -// -// -// = FILENAME -// MyFooServant.h -// -// = DESCRIPTION -// Defines MyFooServant class for the Foo interface -// -// = AUTHOR -// Irfan Pyarali -// -//============================================================================= - -#ifndef MYFOOSERVANT_H -#define MYFOOSERVANT_H - -#include "FooS.h" - -class GENERIC_SERVANT_Export MyFooServant : public POA_Foo -{ -public: - MyFooServant (CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - CORBA::Long value); - // Constructor - takes a POA and a value parameter - - virtual ~MyFooServant (void); - // Destructor - - virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env); - // Returns the Default POA of this Servant object - - virtual CORBA::Long doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Simple doit method - - virtual void simply_doit (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Even simpler doit method - - virtual void timed_operation (CORBA::ULong timeout, - CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Timed operation. - - virtual void shutdown (CORBA::Environment &env) - ACE_THROW_SPEC ((CORBA::SystemException)); - // Shutdown the ORB - -protected: - CORBA::ORB_var orb_; - // Keep a pointer to the ORB so we can shut it down. - - PortableServer::POA_var poa_; - // Implement a different _default_POA() - - CORBA::Long value_; - // The current value. -}; - -#endif /* MYFOOSERVANT_H */ |