summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/Generic_Servant/MyFooServant.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/Generic_Servant/MyFooServant.h')
-rw-r--r--TAO/examples/POA/Generic_Servant/MyFooServant.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/TAO/examples/POA/Generic_Servant/MyFooServant.h b/TAO/examples/POA/Generic_Servant/MyFooServant.h
index 8643f512562..af9afb37c43 100644
--- a/TAO/examples/POA/Generic_Servant/MyFooServant.h
+++ b/TAO/examples/POA/Generic_Servant/MyFooServant.h
@@ -21,29 +21,25 @@
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);
- // Constructor - takes a POA and a value parameter
- virtual ~MyFooServant (void);
// Destructor
+ virtual ~MyFooServant (void);
- virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
// Returns the Default POA of this Servant object
+ virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
- virtual CORBA::Long doit (CORBA::Environment &env);
// Simple doit method
+ virtual CORBA::Long doit (CORBA::Environment &env);
- virtual void simply_doit (CORBA::Environment &env);
// Even simpler doit method
+ virtual void simply_doit (CORBA::Environment &env);
- virtual void timed_operation (CORBA::ULong timeout,
- CORBA::Environment &env);
- // Timed operation.
-
- virtual void shutdown (CORBA::Environment &env);
// Shutdown the ORB
+ virtual void shutdown (CORBA::Environment &env);
protected:
CORBA::ORB_var orb_;