summaryrefslogtreecommitdiff
path: root/TAO/tao/Protocols_Hooks.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/Protocols_Hooks.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/Protocols_Hooks.h')
-rw-r--r--TAO/tao/Protocols_Hooks.h51
1 files changed, 32 insertions, 19 deletions
diff --git a/TAO/tao/Protocols_Hooks.h b/TAO/tao/Protocols_Hooks.h
index 189bca8fb4c..d6a325df4da 100644
--- a/TAO/tao/Protocols_Hooks.h
+++ b/TAO/tao/Protocols_Hooks.h
@@ -12,11 +12,9 @@
#ifndef TAO_PROTOCOLS_HOOKS_H
#define TAO_PROTOCOLS_HOOKS_H
-#include /**/ "ace/pre.h"
-
-#include "corbafwd.h"
-#include "Policy_ForwardC.h"
+#include /**/ "ace/pre.h"
+#include "ace/CORBA_macros.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
@@ -24,6 +22,15 @@
#include "ace/Service_Object.h"
+#include "TAO_Export.h"
+#include "Basic_Types.h"
+
+namespace CORBA
+{
+ class Policy;
+ class Environment;
+}
+
class TAO_ORB_Core;
class TAO_GIOP_Invocation;
class TAO_Resource_Factory;
@@ -55,14 +62,16 @@ public:
int &enable_network_priority,
const char *protocol_type) = 0;
- virtual int update_client_protocol_properties (TAO_Stub *stub,
- TAO_Transport *t,
- const char *protocol_type) = 0;
+ virtual int update_client_protocol_properties (
+ TAO_Stub *stub,
+ TAO_Transport *t,
+ const char *protocol_type) = 0;
- virtual int update_server_protocol_properties (CORBA::Policy *policy,
- TAO_Transport *t,
- const char *protocol_type) = 0;
+ virtual int update_server_protocol_properties (
+ CORBA::Policy *policy,
+ TAO_Transport *t,
+ const char *protocol_type) = 0;
virtual CORBA::Long get_dscp_codepoint (void) = 0;
@@ -72,10 +81,11 @@ public:
CORBA::Boolean restart
ACE_ENV_ARG_DECL) = 0;
- virtual void add_rt_service_context_hook (TAO_Service_Context &service_context,
- CORBA::Policy *model_policy,
- CORBA::Short &client_priority
- ACE_ENV_ARG_DECL) = 0;
+ virtual void add_rt_service_context_hook (
+ TAO_Service_Context &service_context,
+ CORBA::Policy *model_policy,
+ CORBA::Short &client_priority
+ ACE_ENV_ARG_DECL) = 0;
virtual void get_selector_hook (CORBA::Policy *model_policy,
CORBA::Boolean
@@ -101,9 +111,10 @@ public:
virtual int get_thread_native_priority (CORBA::Short &
ACE_ENV_ARG_DECL_NOT_USED) = 0;
- virtual int get_thread_CORBA_and_native_priority (CORBA::Short &,
- CORBA::Short &
- ACE_ENV_ARG_DECL_NOT_USED) = 0;
+ virtual int get_thread_CORBA_and_native_priority (
+ CORBA::Short &,
+ CORBA::Short &
+ ACE_ENV_ARG_DECL_NOT_USED) = 0;
virtual int set_thread_CORBA_priority (CORBA::Short
ACE_ENV_ARG_DECL_NOT_USED) = 0;
@@ -119,10 +130,12 @@ public:
virtual int set_default_policies (ACE_ENV_SINGLE_ARG_DECL) = 0;
/// Sets the default ServerProtocolPolicy.
- virtual int set_default_server_protocol_policy (TAO_Acceptor_Registry &acceptor_registry
- ACE_ENV_ARG_DECL) = 0;
+ virtual int set_default_server_protocol_policy (
+ TAO_Acceptor_Registry &acceptor_registry
+ ACE_ENV_ARG_DECL) = 0;
};
#include /**/ "ace/post.h"
+
#endif /* TAO_PROTOCOLS_HOOKS_H */