diff options
author | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-31 02:16:46 +0000 |
---|---|---|
committer | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-31 02:16:46 +0000 |
commit | bc73c0ad3fcb1f9f32b9ef160e8b59a302065635 (patch) | |
tree | 1a512de20373eb624d52cf1b97930391e11f35ba /TAO/tao/Messaging_Policy_i.h | |
parent | b0aff2ca032976d1f4972e59afb576d43b1838ec (diff) | |
download | ATCD-bc73c0ad3fcb1f9f32b9ef160e8b59a302065635.tar.gz |
ChangeLogTag: Mon Oct 30 17:47:13 2000 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/tao/Messaging_Policy_i.h')
-rw-r--r-- | TAO/tao/Messaging_Policy_i.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/TAO/tao/Messaging_Policy_i.h b/TAO/tao/Messaging_Policy_i.h index bf01ae04b58..d0d4b1edd0e 100644 --- a/TAO/tao/Messaging_Policy_i.h +++ b/TAO/tao/Messaging_Policy_i.h @@ -32,8 +32,6 @@ #pragma warning(disable:4250) #endif /* _MSC_VER */ -#if (TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1) - class TAO_Export TAO_RelativeRoundtripTimeoutPolicy : public Messaging::RelativeRoundtripTimeoutPolicy, public TAO_Local_RefCounted_Object @@ -52,6 +50,13 @@ public: TAO_RelativeRoundtripTimeoutPolicy (const TAO_RelativeRoundtripTimeoutPolicy &rhs); // Copy constructor. + /// Implement the timeout hook, this is set in the ORB_Core at + /// initialization time. + static void hook (TAO_ORB_Core *orb_core, + TAO_Stub *stub, + int &has_timeout, + ACE_Time_Value &time_value); + static CORBA::Policy_ptr create (const CORBA::Any& val, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()); // Helper method for the implementation of @@ -81,12 +86,8 @@ private: // The attribute }; -#endif /* TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1 */ - //////////////////////////////////////////////////////////////////////////////// -#if (TAO_HAS_SYNC_SCOPE_POLICY == 1) - class TAO_Export TAO_Sync_Scope_Policy : public Messaging::SyncScopePolicy, public TAO_Local_RefCounted_Object @@ -105,6 +106,13 @@ public: TAO_Sync_Scope_Policy (const TAO_Sync_Scope_Policy &rhs); // Copy constructor. + /// Implement the Sync_Scope hook, this is set in the ORB_Core at + /// initialization time. + static void hook (TAO_ORB_Core *orb_core, + TAO_Stub *stub, + int &has_synchronization, + int &scope); + static CORBA::Policy_ptr create (const CORBA::Any& val, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()); // Helper method for the implementation of @@ -143,7 +151,5 @@ private: #pragma warning(pop) #endif /* _MSC_VER */ -#endif /* TAO_HAS_SYNC_SCOPE_POLICY == 1 */ - #include "ace/post.h" #endif /* TAO_MESSAGING_POLICY_I_H */ |