summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Servant_Base.h
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-10-28 18:31:01 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-10-28 18:31:01 +0000
commitcdb6fd66611283a0314ab23e08472d11dae4f0e4 (patch)
treefd6ae8c3db752254802dfaafd1543974a4741e47 /TAO/tao/PortableServer/Servant_Base.h
parentf984aa2bff444f381570d2f97ac9ba958926fb6b (diff)
downloadATCD-cdb6fd66611283a0314ab23e08472d11dae4f0e4.tar.gz
ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/PortableServer/Servant_Base.h')
-rw-r--r--TAO/tao/PortableServer/Servant_Base.h32
1 files changed, 21 insertions, 11 deletions
diff --git a/TAO/tao/PortableServer/Servant_Base.h b/TAO/tao/PortableServer/Servant_Base.h
index 36bb5563d3a..7b411e477a2 100644
--- a/TAO/tao/PortableServer/Servant_Base.h
+++ b/TAO/tao/PortableServer/Servant_Base.h
@@ -12,16 +12,19 @@
#ifndef TAO_SERVANT_BASE_H
#define TAO_SERVANT_BASE_H
+
#include /**/ "ace/pre.h"
#include "PortableServerC.h"
-#include "tao/Abstract_Servant_Base.h"
-#include "ace/Atomic_Op.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "tao/Abstract_Servant_Base.h"
+
+#include "ace/Atomic_Op.h"
+
class TAO_Operation_Table;
/**
@@ -84,6 +87,16 @@ public:
void *servant_upcall
ACE_ENV_ARG_DECL) = 0;
+ /// Please see documentation in tao/Abstract_Servant_Base.h for
+ /// details.
+ virtual int _find (const char *opname,
+ TAO_Skeleton &skelfunc,
+ const unsigned int length = 0);
+
+ virtual int _find (const char *opname,
+ TAO_Collocated_Skeleton &skelfunc,
+ TAO::Collocation_Strategy st,
+ const unsigned int length = 0);
protected:
/// Default constructor, only derived classes can be created.
@@ -106,15 +119,11 @@ protected:
void *derived_this
ACE_ENV_ARG_DECL);
- /// Find an operation in the operation table.
- virtual int _find (const char *opname,
- TAO_Skeleton &skelfunc,
- const unsigned int length = 0);
/// Register a CORBA IDL operation name.
- virtual int _bind (const char *opname,
+ /*virtual int _bind (const char *opname,
const TAO_Skeleton skel_ptr);
-
+ */
/// Get this interface's repository id (TAO specific).
virtual const char *_interface_repository_id (void) const = 0;
@@ -160,16 +169,16 @@ public:
~TAO_RefCountServantBase (void);
/// Increase reference count by one.
- virtual void _add_ref (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS);
+ virtual void _add_ref (ACE_ENV_SINGLE_ARG_DECL);
/**
* Decreases reference count by one; if the resulting reference
* count equals zero, _remove_ref invokes delete on its this pointer
* in order to destroy the servant.
*/
- virtual void _remove_ref (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS);
+ virtual void _remove_ref (ACE_ENV_SINGLE_ARG_DECL);
- /**
+ /**
* Returns the current reference count value. This method is
* non-standard and is only here to simplify debugging.
*/
@@ -273,4 +282,5 @@ protected:
#endif /* __ACE_INLINE__ */
#include /**/ "ace/post.h"
+
#endif /* TAO_SERVANT_BASE_H */