summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/Generic_Servant/MyFooServant.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-06 22:36:55 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-06 22:36:55 +0000
commit7f2f1bff2b6f40cc646074646bbb82c59aaf0d26 (patch)
tree47964c3b209979baa5fa078566d738c9a5a55b98 /TAO/examples/POA/Generic_Servant/MyFooServant.h
parent2cfbfd8012d736491d9b559c9d9cd49f02e08ec6 (diff)
downloadATCD-7f2f1bff2b6f40cc646074646bbb82c59aaf0d26.tar.gz
This commit was manufactured by cvs2svn to create tag 'ACE-4_6_11'.ACE-4_6_11
Diffstat (limited to 'TAO/examples/POA/Generic_Servant/MyFooServant.h')
-rw-r--r--TAO/examples/POA/Generic_Servant/MyFooServant.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/TAO/examples/POA/Generic_Servant/MyFooServant.h b/TAO/examples/POA/Generic_Servant/MyFooServant.h
deleted file mode 100644
index af9afb37c43..00000000000
--- a/TAO/examples/POA/Generic_Servant/MyFooServant.h
+++ /dev/null
@@ -1,55 +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:
- // constructor - takes a POA and a value parameter
- MyFooServant (CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa,
- CORBA::Long value);
-
- // Destructor
- virtual ~MyFooServant (void);
-
- // Returns the Default POA of this Servant object
- virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
-
- // Simple doit method
- virtual CORBA::Long doit (CORBA::Environment &env);
-
- // Even simpler doit method
- virtual void simply_doit (CORBA::Environment &env);
-
- // Shutdown the ORB
- virtual void shutdown (CORBA::Environment &env);
-
-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 */