summaryrefslogtreecommitdiff
path: root/TAO/tests/POA/Forwarding/MyFooServant.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/POA/Forwarding/MyFooServant.h')
-rw-r--r--TAO/tests/POA/Forwarding/MyFooServant.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/TAO/tests/POA/Forwarding/MyFooServant.h b/TAO/tests/POA/Forwarding/MyFooServant.h
deleted file mode 100644
index e84f12921f4..00000000000
--- a/TAO/tests/POA/Forwarding/MyFooServant.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// $Id$
-//=============================================================================
-//
-//
-// = FILENAME
-// MyFooServant.h
-//
-// = DESCRIPTION
-// Defines MyFooServant class for the Foo interface
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//=============================================================================
-
-#if !defined (MYFOOSERVANT_H)
-#define MYFOOSERVANT_H
-
-#include "FooS.h"
-
-class MyFooServant : public POA_Foo
-{
-public:
- // constructor - takes a POA and a value parameter
- MyFooServant (PortableServer::POA_ptr poa,
- CORBA::Long value,
- CORBA::Object_ptr forward_to);
-
- // 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);
-
- // Setup forwarding
- virtual void forward (CORBA::Environment &env);
-
-protected:
- // Default poa associated with this servant
- PortableServer::POA_var poa_;
- CORBA::Long value_;
- CORBA::Object_var forward_to_;
-};
-
-#endif /* MYFOOSERVANT_H */